@wix/himalaya-cli 0.1652.0 → 0.1653.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 (132) 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 +1911 -1683
  6. package/dist/preview-assets.generated.bin +0 -0
  7. package/guides/one-app-to-himi-app.md +13 -4
  8. package/package.json +2 -2
  9. package/templates/beauty-salon/dev/index.ts +263 -204
  10. package/templates/beauty-salon/l10n/en.json +2653 -0
  11. package/templates/beauty-salon/l10n/es.json +33 -0
  12. package/templates/beauty-salon/l10n/he.json +3756 -0
  13. package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +18 -10
  14. package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +5 -4
  15. package/templates/beauty-salon/tier5-src/_shared/himi-bookings.ts +1 -1
  16. package/templates/beauty-salon/tier5-src/_shared/himi-copy.ts +30 -3
  17. package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +2 -4
  18. package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +2 -2
  19. package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +1 -1
  20. package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +18 -10
  21. package/templates/beauty-salon-owner/tier5-src/_shared/himi-copy.ts +30 -3
  22. package/templates/branded-lite/dev/index.ts +263 -204
  23. package/templates/branded-lite/l10n/en.json +5024 -478
  24. package/templates/branded-lite/l10n/es.json +33 -0
  25. package/templates/branded-lite/l10n/he.json +6652 -0
  26. package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +18 -10
  27. package/templates/branded-lite/tier5-src/_shared/himi-account.ts +5 -4
  28. package/templates/branded-lite/tier5-src/_shared/himi-bookings.ts +1 -1
  29. package/templates/branded-lite/tier5-src/_shared/himi-copy.ts +30 -3
  30. package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +2 -4
  31. package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +2 -2
  32. package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +1 -1
  33. package/templates/brandy/tier5-src/_shared/himi-copy.ts +30 -3
  34. package/templates/community-club/l10n/en.json +1788 -0
  35. package/templates/community-club/l10n/es.json +10 -0
  36. package/templates/community-club/l10n/he.json +2397 -0
  37. package/templates/community-club/tier5-src/_shared/engine-intl.ts +18 -10
  38. package/templates/community-club/tier5-src/_shared/himi-account.ts +5 -4
  39. package/templates/community-club/tier5-src/_shared/himi-copy.ts +30 -3
  40. package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +18 -10
  41. package/templates/community-club-owner/tier5-src/_shared/himi-copy.ts +30 -3
  42. package/templates/conference/tier5-src/_shared/engine-intl.ts +18 -10
  43. package/templates/conference/tier5-src/_shared/himi-account.ts +5 -4
  44. package/templates/conference/tier5-src/_shared/himi-copy.ts +30 -3
  45. package/templates/events-meetups/l10n/en.json +1739 -0
  46. package/templates/events-meetups/l10n/es.json +10 -0
  47. package/templates/events-meetups/l10n/he.json +2326 -0
  48. package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +18 -10
  49. package/templates/events-meetups/tier5-src/_shared/himi-account.ts +5 -4
  50. package/templates/events-meetups/tier5-src/_shared/himi-copy.ts +30 -3
  51. package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +18 -10
  52. package/templates/events-meetups-owner/tier5-src/_shared/himi-copy.ts +30 -3
  53. package/templates/gym-fitness/dev/index.ts +263 -204
  54. package/templates/gym-fitness/l10n/en.json +2964 -0
  55. package/templates/gym-fitness/l10n/es.json +33 -0
  56. package/templates/gym-fitness/l10n/he.json +4170 -0
  57. package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +18 -10
  58. package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +5 -4
  59. package/templates/gym-fitness/tier5-src/_shared/himi-bookings.ts +1 -1
  60. package/templates/gym-fitness/tier5-src/_shared/himi-copy.ts +30 -3
  61. package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +2 -4
  62. package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +2 -2
  63. package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +1 -1
  64. package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +18 -10
  65. package/templates/gym-fitness-owner/tier5-src/_shared/himi-copy.ts +30 -3
  66. package/templates/himi-chat/tier5-src/_shared/himi-copy.ts +30 -3
  67. package/templates/nonprofit-cause/l10n/en.json +1926 -0
  68. package/templates/nonprofit-cause/l10n/es.json +10 -0
  69. package/templates/nonprofit-cause/l10n/he.json +2577 -0
  70. package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +18 -10
  71. package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +5 -4
  72. package/templates/nonprofit-cause/tier5-src/_shared/himi-copy.ts +30 -3
  73. package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +18 -10
  74. package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-copy.ts +30 -3
  75. package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +18 -10
  76. package/templates/owner-lite/tier5-src/_shared/himi-copy.ts +30 -3
  77. package/templates/podcast-creator/l10n/en.json +1840 -0
  78. package/templates/podcast-creator/l10n/es.json +10 -0
  79. package/templates/podcast-creator/l10n/he.json +2444 -0
  80. package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +18 -10
  81. package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +5 -4
  82. package/templates/podcast-creator/tier5-src/_shared/himi-copy.ts +30 -3
  83. package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +18 -10
  84. package/templates/podcast-creator-owner/tier5-src/_shared/himi-copy.ts +30 -3
  85. package/templates/portfolio-creative/dev/index.ts +263 -204
  86. package/templates/portfolio-creative/l10n/en.json +2426 -0
  87. package/templates/portfolio-creative/l10n/es.json +33 -0
  88. package/templates/portfolio-creative/l10n/he.json +3149 -0
  89. package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +18 -10
  90. package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +5 -4
  91. package/templates/portfolio-creative/tier5-src/_shared/himi-copy.ts +30 -3
  92. package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +18 -10
  93. package/templates/portfolio-creative-owner/tier5-src/_shared/himi-copy.ts +30 -3
  94. package/templates/restaurant/l10n/en.json +2204 -0
  95. package/templates/restaurant/l10n/es.json +10 -0
  96. package/templates/restaurant/l10n/he.json +2862 -0
  97. package/templates/restaurant/tier5-src/_shared/engine-intl.ts +18 -10
  98. package/templates/restaurant/tier5-src/_shared/himi-account.ts +5 -4
  99. package/templates/restaurant/tier5-src/_shared/himi-copy.ts +30 -3
  100. package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +18 -10
  101. package/templates/restaurant-owner/tier5-src/_shared/himi-copy.ts +30 -3
  102. package/templates/retail-store/dev/index.ts +263 -204
  103. package/templates/retail-store/l10n/en.json +2029 -0
  104. package/templates/retail-store/l10n/es.json +33 -0
  105. package/templates/retail-store/l10n/he.json +2660 -0
  106. package/templates/retail-store/tier5-src/_shared/engine-intl.ts +18 -10
  107. package/templates/retail-store/tier5-src/_shared/himi-account.ts +5 -4
  108. package/templates/retail-store/tier5-src/_shared/himi-copy.ts +30 -3
  109. package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +18 -10
  110. package/templates/retail-store-owner/tier5-src/_shared/himi-copy.ts +30 -3
  111. package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +18 -10
  112. package/templates/salon-spa/tier5-src/_shared/himi-account.ts +5 -4
  113. package/templates/salon-spa/tier5-src/_shared/himi-bookings.ts +1 -1
  114. package/templates/salon-spa/tier5-src/_shared/himi-copy.ts +30 -3
  115. package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +2 -4
  116. package/templates/salon-spa/tier5-src/himi-booking-service/index.ts +2 -2
  117. package/templates/salon-spa/tier5-src/himi-booking-time/index.ts +1 -1
  118. package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +18 -10
  119. package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +5 -4
  120. package/templates/wholesale-store/tier5-src/_shared/himi-copy.ts +30 -3
  121. package/templates/yoga-studio/l10n/en.json +2213 -0
  122. package/templates/yoga-studio/l10n/es.json +10 -0
  123. package/templates/yoga-studio/l10n/he.json +3405 -0
  124. package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +18 -10
  125. package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +5 -4
  126. package/templates/yoga-studio/tier5-src/_shared/himi-bookings.ts +1 -1
  127. package/templates/yoga-studio/tier5-src/_shared/himi-copy.ts +30 -3
  128. package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +2 -4
  129. package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +2 -2
  130. package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +1 -1
  131. package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +18 -10
  132. package/templates/yoga-studio-owner/tier5-src/_shared/himi-copy.ts +30 -3
@@ -17493,14 +17493,6 @@ const SCREENS = runtimeSetting({
17493
17493
  "spacing": 0,
17494
17494
  "alignment": "leading",
17495
17495
  "children": [
17496
- {
17497
- "id": "",
17498
- "body": {
17499
- "package": "himalaya",
17500
- "type": "Divider",
17501
- "props": {}
17502
- }
17503
- },
17504
17496
  {
17505
17497
  "id": "himi_cart.row_content",
17506
17498
  "body": {
@@ -17508,6 +17500,7 @@ const SCREENS = runtimeSetting({
17508
17500
  "type": "HStack",
17509
17501
  "props": {
17510
17502
  "spacing": 12,
17503
+ "alignment": "leading",
17511
17504
  "children": [
17512
17505
  {
17513
17506
  "id": "himi_cart.thumbnail",
@@ -17518,7 +17511,7 @@ const SCREENS = runtimeSetting({
17518
17511
  "url": "$item.image",
17519
17512
  "width": 112,
17520
17513
  "height": 144,
17521
- "contentMode": "fit",
17514
+ "contentMode": "fill",
17522
17515
  "shape": "rect",
17523
17516
  "contentDescription": "$item.name"
17524
17517
  }
@@ -17580,7 +17573,7 @@ const SCREENS = runtimeSetting({
17580
17573
  "package": "himalaya",
17581
17574
  "type": "VStack",
17582
17575
  "props": {
17583
- "spacing": 4,
17576
+ "spacing": 2,
17584
17577
  "alignment": "leading",
17585
17578
  "children": [
17586
17579
  {
@@ -17590,6 +17583,7 @@ const SCREENS = runtimeSetting({
17590
17583
  "type": "HStack",
17591
17584
  "props": {
17592
17585
  "spacing": 6,
17586
+ "alignment": "leading",
17593
17587
  "children": [
17594
17588
  {
17595
17589
  "id": "himi_cart.product_title",
@@ -17712,6 +17706,7 @@ const SCREENS = runtimeSetting({
17712
17706
  "type": "HStack",
17713
17707
  "props": {
17714
17708
  "spacing": 0,
17709
+ "alignment": "center",
17715
17710
  "children": [
17716
17711
  {
17717
17712
  "id": "himi_cart.qty_minus",
@@ -17731,7 +17726,8 @@ const SCREENS = runtimeSetting({
17731
17726
  "leadingIcon": "minus",
17732
17727
  "cornerRadius": 22,
17733
17728
  "minHeight": 44,
17734
- "disabledPath": "$service:himiStoreCart.writeBusy"
17729
+ "disabledPath": "$service:himiStoreCart.writeBusy",
17730
+ "size": "sm"
17735
17731
  }
17736
17732
  },
17737
17733
  "modifiers": {
@@ -17775,7 +17771,8 @@ const SCREENS = runtimeSetting({
17775
17771
  "leadingIcon": "plus",
17776
17772
  "cornerRadius": 22,
17777
17773
  "minHeight": 44,
17778
- "disabledPath": "$service:himiStoreCart.writeBusy"
17774
+ "disabledPath": "$service:himiStoreCart.writeBusy",
17775
+ "size": "sm"
17779
17776
  }
17780
17777
  },
17781
17778
  "modifiers": {
@@ -17812,7 +17809,8 @@ const SCREENS = runtimeSetting({
17812
17809
  "leadingIcon": "heart_fill",
17813
17810
  "cornerRadius": 22,
17814
17811
  "minHeight": 44,
17815
- "disabledPath": "$service:himiStoreCart.writeBusy"
17812
+ "disabledPath": "$service:himiStoreCart.writeBusy",
17813
+ "size": "sm"
17816
17814
  }
17817
17815
  },
17818
17816
  "modifiers": {
@@ -17842,7 +17840,8 @@ const SCREENS = runtimeSetting({
17842
17840
  "leadingIcon": "heart",
17843
17841
  "cornerRadius": 22,
17844
17842
  "minHeight": 44,
17845
- "disabledPath": "$service:himiStoreCart.writeBusy"
17843
+ "disabledPath": "$service:himiStoreCart.writeBusy",
17844
+ "size": "sm"
17846
17845
  }
17847
17846
  },
17848
17847
  "modifiers": {
@@ -17872,7 +17871,8 @@ const SCREENS = runtimeSetting({
17872
17871
  "leadingIcon": "trash",
17873
17872
  "cornerRadius": 22,
17874
17873
  "minHeight": 44,
17875
- "disabledPath": "$service:himiStoreCart.writeBusy"
17874
+ "disabledPath": "$service:himiStoreCart.writeBusy",
17875
+ "size": "sm"
17876
17876
  }
17877
17877
  },
17878
17878
  "modifiers": {
@@ -17898,7 +17898,11 @@ const SCREENS = runtimeSetting({
17898
17898
  }
17899
17899
  },
17900
17900
  "modifiers": {
17901
- "fillMaxWidth": true
17901
+ "fillMaxWidth": true,
17902
+ "padding": {
17903
+ "top": 20,
17904
+ "bottom": 20
17905
+ }
17902
17906
  }
17903
17907
  },
17904
17908
  {
@@ -17913,9 +17917,21 @@ const SCREENS = runtimeSetting({
17913
17917
  }
17914
17918
  },
17915
17919
  "modifiers": {
17916
- "padding": {
17917
- "top": 16,
17918
- "bottom": 16
17920
+ "theme": {
17921
+ "typography": {
17922
+ "body": {
17923
+ "size": 14,
17924
+ "weight": 400,
17925
+ "line": 1.4285714285714286,
17926
+ "letterSpacing": 0
17927
+ },
17928
+ "bodyEmphasis": {
17929
+ "size": 14,
17930
+ "weight": 700,
17931
+ "line": 1.4285714285714286,
17932
+ "letterSpacing": 0
17933
+ }
17934
+ }
17919
17935
  }
17920
17936
  }
17921
17937
  }
@@ -18068,79 +18084,169 @@ const SCREENS = runtimeSetting({
18068
18084
  "package": "himalaya",
18069
18085
  "type": "VStack",
18070
18086
  "props": {
18071
- "spacing": 10,
18087
+ "spacing": 0,
18072
18088
  "alignment": "leading",
18073
18089
  "children": [
18074
18090
  {
18075
- "id": "",
18091
+ "id": "himi_cart.footer_divider",
18076
18092
  "body": {
18077
18093
  "package": "himalaya",
18078
- "type": "HStack",
18094
+ "type": "Divider",
18095
+ "props": {}
18096
+ }
18097
+ },
18098
+ {
18099
+ "id": "himi_cart.footer_content",
18100
+ "body": {
18101
+ "package": "himalaya",
18102
+ "type": "VStack",
18079
18103
  "props": {
18080
- "spacing": 8,
18104
+ "spacing": 10,
18105
+ "alignment": "leading",
18081
18106
  "children": [
18082
18107
  {
18083
- "id": "himi_cart.promo",
18108
+ "id": "",
18084
18109
  "body": {
18085
18110
  "package": "himalaya",
18086
- "type": "TextField",
18111
+ "type": "HStack",
18087
18112
  "props": {
18088
- "placeholder": "Promo code",
18089
- "valuePath": "$service:himiStoreCart.promoCode",
18090
- "onChange": {
18091
- "actionId": "tier5.himiStoreCart.setPromo"
18092
- },
18093
- "onSubmit": {
18094
- "actionId": "tier5.himiStoreCart.applyPromo"
18095
- },
18096
- "autoCapitalization": "characters",
18097
- "suggestions": "off",
18098
- "submitLabel": "done",
18099
- "clearButton": true,
18100
- "maxLength": 100,
18101
- "borderless": true
18113
+ "spacing": 8,
18114
+ "children": [
18115
+ {
18116
+ "id": "himi_cart.promo",
18117
+ "body": {
18118
+ "package": "himalaya",
18119
+ "type": "TextField",
18120
+ "props": {
18121
+ "placeholder": "Promo code",
18122
+ "valuePath": "$service:himiStoreCart.promoCode",
18123
+ "onChange": {
18124
+ "actionId": "tier5.himiStoreCart.setPromo"
18125
+ },
18126
+ "onSubmit": {
18127
+ "actionId": "tier5.himiStoreCart.applyPromo"
18128
+ },
18129
+ "autoCapitalization": "characters",
18130
+ "suggestions": "off",
18131
+ "submitLabel": "done",
18132
+ "clearButton": true,
18133
+ "maxLength": 100,
18134
+ "borderless": true
18135
+ }
18136
+ },
18137
+ "modifiers": {
18138
+ "weight": 1,
18139
+ "height": 44,
18140
+ "border": {
18141
+ "width": 1,
18142
+ "color": {
18143
+ "token": "border"
18144
+ }
18145
+ },
18146
+ "padding": {
18147
+ "leading": 12,
18148
+ "trailing": 12
18149
+ },
18150
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
18151
+ }
18152
+ },
18153
+ {
18154
+ "id": "himi_cart.apply_promo",
18155
+ "body": {
18156
+ "package": "himalaya",
18157
+ "type": "Button",
18158
+ "props": {
18159
+ "title": "Apply",
18160
+ "style": "secondary",
18161
+ "fullWidth": false,
18162
+ "action": {
18163
+ "actionId": "tier5.himiStoreCart.applyPromo"
18164
+ },
18165
+ "disabledPath": "$service:himiStoreCart.writeBusy"
18166
+ }
18167
+ },
18168
+ "modifiers": {
18169
+ "height": 44,
18170
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
18171
+ }
18172
+ },
18173
+ {
18174
+ "id": "",
18175
+ "body": {
18176
+ "package": "himalaya",
18177
+ "type": "HStack",
18178
+ "props": {
18179
+ "spacing": 8,
18180
+ "children": [
18181
+ {
18182
+ "id": "",
18183
+ "body": {
18184
+ "package": "himalaya",
18185
+ "type": "Text",
18186
+ "props": {
18187
+ "text": "$service:himiStoreCart.appliedLabel",
18188
+ "style": "footnote",
18189
+ "color": "textPrimary"
18190
+ }
18191
+ }
18192
+ },
18193
+ {
18194
+ "id": "",
18195
+ "body": {
18196
+ "package": "himalaya",
18197
+ "type": "Spacer",
18198
+ "props": {}
18199
+ }
18200
+ },
18201
+ {
18202
+ "id": "himi_cart.remove_promo",
18203
+ "body": {
18204
+ "package": "himalaya",
18205
+ "type": "Button",
18206
+ "props": {
18207
+ "title": "Remove promo code",
18208
+ "action": {
18209
+ "actionId": "tier5.himiStoreCart.removePromo"
18210
+ },
18211
+ "style": "tertiary",
18212
+ "iconOnly": true,
18213
+ "leadingIcon": "close",
18214
+ "cornerRadius": 22,
18215
+ "minHeight": 44,
18216
+ "disabledPath": "$service:himiStoreCart.writeBusy"
18217
+ }
18218
+ },
18219
+ "modifiers": {
18220
+ "width": 44,
18221
+ "height": 44,
18222
+ "accessibilityLabel": "Remove promo code",
18223
+ "accessibilityRole": "button"
18224
+ }
18225
+ }
18226
+ ]
18227
+ }
18228
+ },
18229
+ "modifiers": {
18230
+ "hiddenPath": "$service:himiStoreCart.noCoupon"
18231
+ }
18232
+ }
18233
+ ]
18102
18234
  }
18103
- },
18104
- "modifiers": {
18105
- "weight": 1,
18106
- "height": 36,
18107
- "border": {
18108
- "width": 1,
18109
- "color": {
18110
- "token": "border"
18111
- }
18112
- },
18113
- "padding": {
18114
- "leading": 12,
18115
- "trailing": 12
18116
- },
18117
- "hiddenPath": "$service:himiStoreCart.hasCoupon"
18118
18235
  }
18119
18236
  },
18120
18237
  {
18121
- "id": "himi_cart.apply_promo",
18238
+ "id": "himi_cart.promo_error",
18122
18239
  "body": {
18123
18240
  "package": "himalaya",
18124
- "type": "Button",
18241
+ "type": "Text",
18125
18242
  "props": {
18126
- "title": "Apply",
18127
- "style": "secondary",
18128
- "action": {
18129
- "actionId": "tier5.himiStoreCart.applyPromo"
18130
- },
18131
- "disabledPath": "$service:himiStoreCart.writeBusy"
18243
+ "text": "$service:himiStoreCart.promoError",
18244
+ "style": "footnote",
18245
+ "color": "danger"
18132
18246
  }
18133
18247
  },
18134
18248
  "modifiers": {
18135
- "height": 44,
18136
- "cornerRadius": 0,
18137
- "border": {
18138
- "width": 1,
18139
- "color": {
18140
- "token": "textPrimary"
18141
- }
18142
- },
18143
- "hiddenPath": "$service:himiStoreCart.hasCoupon"
18249
+ "hiddenPath": "$service:himiStoreCart.noPromoError"
18144
18250
  }
18145
18251
  },
18146
18252
  {
@@ -18157,8 +18263,8 @@ const SCREENS = runtimeSetting({
18157
18263
  "package": "himalaya",
18158
18264
  "type": "Text",
18159
18265
  "props": {
18160
- "text": "$service:himiStoreCart.appliedLabel",
18161
- "style": "footnote",
18266
+ "text": "Discount",
18267
+ "style": "body",
18162
18268
  "color": "textPrimary"
18163
18269
  }
18164
18270
  }
@@ -18172,158 +18278,126 @@ const SCREENS = runtimeSetting({
18172
18278
  }
18173
18279
  },
18174
18280
  {
18175
- "id": "himi_cart.remove_promo",
18281
+ "id": "",
18176
18282
  "body": {
18177
18283
  "package": "himalaya",
18178
- "type": "Button",
18284
+ "type": "Text",
18179
18285
  "props": {
18180
- "title": "Remove promo code",
18181
- "action": {
18182
- "actionId": "tier5.himiStoreCart.removePromo"
18183
- },
18184
- "style": "tertiary",
18185
- "iconOnly": true,
18186
- "leadingIcon": "close",
18187
- "cornerRadius": 22,
18188
- "minHeight": 44,
18189
- "disabledPath": "$service:himiStoreCart.writeBusy"
18286
+ "text": "$service:himiStoreCart.discount",
18287
+ "style": "body",
18288
+ "color": "success"
18190
18289
  }
18191
- },
18192
- "modifiers": {
18193
- "width": 44,
18194
- "height": 44,
18195
- "accessibilityLabel": "Remove promo code",
18196
- "accessibilityRole": "button"
18197
18290
  }
18198
18291
  }
18199
18292
  ]
18200
18293
  }
18201
18294
  },
18202
18295
  "modifiers": {
18203
- "hiddenPath": "$service:himiStoreCart.noCoupon"
18296
+ "hiddenPath": "$service:himiStoreCart.noDiscount"
18204
18297
  }
18205
- }
18206
- ]
18207
- }
18208
- }
18209
- },
18210
- {
18211
- "id": "himi_cart.promo_error",
18212
- "body": {
18213
- "package": "himalaya",
18214
- "type": "Text",
18215
- "props": {
18216
- "text": "$service:himiStoreCart.promoError",
18217
- "style": "footnote",
18218
- "color": "danger"
18219
- }
18220
- },
18221
- "modifiers": {
18222
- "hiddenPath": "$service:himiStoreCart.noPromoError"
18223
- }
18224
- },
18225
- {
18226
- "id": "",
18227
- "body": {
18228
- "package": "himalaya",
18229
- "type": "HStack",
18230
- "props": {
18231
- "spacing": 8,
18232
- "children": [
18298
+ },
18233
18299
  {
18234
- "id": "",
18300
+ "id": "himi_cart.subtotal",
18235
18301
  "body": {
18236
18302
  "package": "himalaya",
18237
- "type": "Text",
18303
+ "type": "HStack",
18238
18304
  "props": {
18239
- "text": "Discount",
18240
- "style": "body",
18241
- "color": "textPrimary"
18305
+ "spacing": 8,
18306
+ "children": [
18307
+ {
18308
+ "id": "",
18309
+ "body": {
18310
+ "package": "himalaya",
18311
+ "type": "Text",
18312
+ "props": {
18313
+ "text": "$service:himiStoreCart.subtotalLabel",
18314
+ "style": "bodyEmphasis"
18315
+ }
18316
+ }
18317
+ },
18318
+ {
18319
+ "id": "",
18320
+ "body": {
18321
+ "package": "himalaya",
18322
+ "type": "Spacer",
18323
+ "props": {}
18324
+ }
18325
+ },
18326
+ {
18327
+ "id": "",
18328
+ "body": {
18329
+ "package": "himalaya",
18330
+ "type": "Text",
18331
+ "props": {
18332
+ "text": "$service:himiStoreCart.subtotal",
18333
+ "style": "bodyEmphasis"
18334
+ }
18335
+ }
18336
+ }
18337
+ ]
18338
+ }
18339
+ },
18340
+ "modifiers": {
18341
+ "padding": {
18342
+ "top": 8
18242
18343
  }
18243
18344
  }
18244
18345
  },
18245
18346
  {
18246
- "id": "",
18247
- "body": {
18248
- "package": "himalaya",
18249
- "type": "Spacer",
18250
- "props": {}
18251
- }
18252
- },
18253
- {
18254
- "id": "",
18347
+ "id": "himi_cart.checkout_note",
18255
18348
  "body": {
18256
18349
  "package": "himalaya",
18257
18350
  "type": "Text",
18258
18351
  "props": {
18259
- "text": "$service:himiStoreCart.discount",
18260
- "style": "body",
18261
- "color": "success"
18352
+ "text": "Taxes and shipping are calculated at checkout.",
18353
+ "style": "footnote",
18354
+ "color": "textSecondary"
18262
18355
  }
18263
- }
18264
- }
18265
- ]
18266
- }
18267
- },
18268
- "modifiers": {
18269
- "hiddenPath": "$service:himiStoreCart.noDiscount"
18270
- }
18271
- },
18272
- {
18273
- "id": "",
18274
- "body": {
18275
- "package": "himalaya",
18276
- "type": "HStack",
18277
- "props": {
18278
- "spacing": 8,
18279
- "children": [
18280
- {
18281
- "id": "",
18282
- "body": {
18283
- "package": "himalaya",
18284
- "type": "Text",
18285
- "props": {
18286
- "text": "$service:himiStoreCart.subtotalLabel",
18287
- "style": "bodyEmphasis"
18356
+ },
18357
+ "modifiers": {
18358
+ "padding": {
18359
+ "bottom": 8
18360
+ },
18361
+ "theme": {
18362
+ "typography": {
18363
+ "footnote": {
18364
+ "size": 14,
18365
+ "weight": 400,
18366
+ "line": 1.4285714285714286,
18367
+ "letterSpacing": 0
18368
+ }
18369
+ }
18288
18370
  }
18289
18371
  }
18290
18372
  },
18291
18373
  {
18292
- "id": "",
18374
+ "id": "himi_cart.checkout",
18293
18375
  "body": {
18294
18376
  "package": "himalaya",
18295
- "type": "Spacer",
18296
- "props": {}
18297
- }
18298
- },
18299
- {
18300
- "id": "",
18301
- "body": {
18302
- "package": "himalaya",
18303
- "type": "Text",
18377
+ "type": "Button",
18304
18378
  "props": {
18305
- "text": "$service:himiStoreCart.subtotal",
18306
- "style": "bodyEmphasis"
18379
+ "title": "Checkout",
18380
+ "style": "primary",
18381
+ "fullWidth": true,
18382
+ "disabledPath": "$service:himiStoreCart.writeBusy",
18383
+ "action": {
18384
+ "actionId": "tier5.himiStoreCart.checkout"
18385
+ }
18307
18386
  }
18308
18387
  }
18309
18388
  }
18310
18389
  ]
18311
18390
  }
18312
- }
18313
- },
18314
- {
18315
- "id": "himi_cart.checkout",
18316
- "body": {
18317
- "package": "himalaya",
18318
- "type": "Button",
18319
- "props": {
18320
- "title": "Checkout",
18321
- "style": "primary",
18322
- "fullWidth": true,
18323
- "disabledPath": "$service:himiStoreCart.writeBusy",
18324
- "action": {
18325
- "actionId": "tier5.himiStoreCart.checkout"
18326
- }
18391
+ },
18392
+ "modifiers": {
18393
+ "background": {
18394
+ "token": "surfacePrimary"
18395
+ },
18396
+ "padding": {
18397
+ "leading": 20,
18398
+ "trailing": 20,
18399
+ "top": 12,
18400
+ "bottom": 12
18327
18401
  }
18328
18402
  }
18329
18403
  }
@@ -18331,21 +18405,6 @@ const SCREENS = runtimeSetting({
18331
18405
  }
18332
18406
  },
18333
18407
  "modifiers": {
18334
- "background": {
18335
- "token": "surfacePrimary"
18336
- },
18337
- "border": {
18338
- "width": 1,
18339
- "color": {
18340
- "token": "border"
18341
- }
18342
- },
18343
- "padding": {
18344
- "leading": 20,
18345
- "trailing": 20,
18346
- "top": 12,
18347
- "bottom": 12
18348
- },
18349
18408
  "hiddenPath": "$service:himiStoreCart.noItems"
18350
18409
  }
18351
18410
  }