@wix/himalaya-cli 0.1651.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 -1684
  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
@@ -15426,14 +15426,6 @@ const SCREENS = runtimeSetting({
15426
15426
  "spacing": 0,
15427
15427
  "alignment": "leading",
15428
15428
  "children": [
15429
- {
15430
- "id": "",
15431
- "body": {
15432
- "package": "himalaya",
15433
- "type": "Divider",
15434
- "props": {}
15435
- }
15436
- },
15437
15429
  {
15438
15430
  "id": "himi_cart.row_content",
15439
15431
  "body": {
@@ -15441,6 +15433,7 @@ const SCREENS = runtimeSetting({
15441
15433
  "type": "HStack",
15442
15434
  "props": {
15443
15435
  "spacing": 12,
15436
+ "alignment": "leading",
15444
15437
  "children": [
15445
15438
  {
15446
15439
  "id": "himi_cart.thumbnail",
@@ -15451,7 +15444,7 @@ const SCREENS = runtimeSetting({
15451
15444
  "url": "$item.image",
15452
15445
  "width": 112,
15453
15446
  "height": 144,
15454
- "contentMode": "fit",
15447
+ "contentMode": "fill",
15455
15448
  "shape": "rect",
15456
15449
  "contentDescription": "$item.name"
15457
15450
  }
@@ -15513,7 +15506,7 @@ const SCREENS = runtimeSetting({
15513
15506
  "package": "himalaya",
15514
15507
  "type": "VStack",
15515
15508
  "props": {
15516
- "spacing": 4,
15509
+ "spacing": 2,
15517
15510
  "alignment": "leading",
15518
15511
  "children": [
15519
15512
  {
@@ -15523,6 +15516,7 @@ const SCREENS = runtimeSetting({
15523
15516
  "type": "HStack",
15524
15517
  "props": {
15525
15518
  "spacing": 6,
15519
+ "alignment": "leading",
15526
15520
  "children": [
15527
15521
  {
15528
15522
  "id": "himi_cart.product_title",
@@ -15645,6 +15639,7 @@ const SCREENS = runtimeSetting({
15645
15639
  "type": "HStack",
15646
15640
  "props": {
15647
15641
  "spacing": 0,
15642
+ "alignment": "center",
15648
15643
  "children": [
15649
15644
  {
15650
15645
  "id": "himi_cart.qty_minus",
@@ -15664,7 +15659,8 @@ const SCREENS = runtimeSetting({
15664
15659
  "leadingIcon": "minus",
15665
15660
  "cornerRadius": 22,
15666
15661
  "minHeight": 44,
15667
- "disabledPath": "$service:himiStoreCart.writeBusy"
15662
+ "disabledPath": "$service:himiStoreCart.writeBusy",
15663
+ "size": "sm"
15668
15664
  }
15669
15665
  },
15670
15666
  "modifiers": {
@@ -15708,7 +15704,8 @@ const SCREENS = runtimeSetting({
15708
15704
  "leadingIcon": "plus",
15709
15705
  "cornerRadius": 22,
15710
15706
  "minHeight": 44,
15711
- "disabledPath": "$service:himiStoreCart.writeBusy"
15707
+ "disabledPath": "$service:himiStoreCart.writeBusy",
15708
+ "size": "sm"
15712
15709
  }
15713
15710
  },
15714
15711
  "modifiers": {
@@ -15745,7 +15742,8 @@ const SCREENS = runtimeSetting({
15745
15742
  "leadingIcon": "heart_fill",
15746
15743
  "cornerRadius": 22,
15747
15744
  "minHeight": 44,
15748
- "disabledPath": "$service:himiStoreCart.writeBusy"
15745
+ "disabledPath": "$service:himiStoreCart.writeBusy",
15746
+ "size": "sm"
15749
15747
  }
15750
15748
  },
15751
15749
  "modifiers": {
@@ -15775,7 +15773,8 @@ const SCREENS = runtimeSetting({
15775
15773
  "leadingIcon": "heart",
15776
15774
  "cornerRadius": 22,
15777
15775
  "minHeight": 44,
15778
- "disabledPath": "$service:himiStoreCart.writeBusy"
15776
+ "disabledPath": "$service:himiStoreCart.writeBusy",
15777
+ "size": "sm"
15779
15778
  }
15780
15779
  },
15781
15780
  "modifiers": {
@@ -15805,7 +15804,8 @@ const SCREENS = runtimeSetting({
15805
15804
  "leadingIcon": "trash",
15806
15805
  "cornerRadius": 22,
15807
15806
  "minHeight": 44,
15808
- "disabledPath": "$service:himiStoreCart.writeBusy"
15807
+ "disabledPath": "$service:himiStoreCart.writeBusy",
15808
+ "size": "sm"
15809
15809
  }
15810
15810
  },
15811
15811
  "modifiers": {
@@ -15831,7 +15831,11 @@ const SCREENS = runtimeSetting({
15831
15831
  }
15832
15832
  },
15833
15833
  "modifiers": {
15834
- "fillMaxWidth": true
15834
+ "fillMaxWidth": true,
15835
+ "padding": {
15836
+ "top": 20,
15837
+ "bottom": 20
15838
+ }
15835
15839
  }
15836
15840
  },
15837
15841
  {
@@ -15846,9 +15850,21 @@ const SCREENS = runtimeSetting({
15846
15850
  }
15847
15851
  },
15848
15852
  "modifiers": {
15849
- "padding": {
15850
- "top": 16,
15851
- "bottom": 16
15853
+ "theme": {
15854
+ "typography": {
15855
+ "body": {
15856
+ "size": 14,
15857
+ "weight": 400,
15858
+ "line": 1.4285714285714286,
15859
+ "letterSpacing": 0
15860
+ },
15861
+ "bodyEmphasis": {
15862
+ "size": 14,
15863
+ "weight": 700,
15864
+ "line": 1.4285714285714286,
15865
+ "letterSpacing": 0
15866
+ }
15867
+ }
15852
15868
  }
15853
15869
  }
15854
15870
  }
@@ -16001,79 +16017,169 @@ const SCREENS = runtimeSetting({
16001
16017
  "package": "himalaya",
16002
16018
  "type": "VStack",
16003
16019
  "props": {
16004
- "spacing": 10,
16020
+ "spacing": 0,
16005
16021
  "alignment": "leading",
16006
16022
  "children": [
16007
16023
  {
16008
- "id": "",
16024
+ "id": "himi_cart.footer_divider",
16009
16025
  "body": {
16010
16026
  "package": "himalaya",
16011
- "type": "HStack",
16027
+ "type": "Divider",
16028
+ "props": {}
16029
+ }
16030
+ },
16031
+ {
16032
+ "id": "himi_cart.footer_content",
16033
+ "body": {
16034
+ "package": "himalaya",
16035
+ "type": "VStack",
16012
16036
  "props": {
16013
- "spacing": 8,
16037
+ "spacing": 10,
16038
+ "alignment": "leading",
16014
16039
  "children": [
16015
16040
  {
16016
- "id": "himi_cart.promo",
16041
+ "id": "",
16017
16042
  "body": {
16018
16043
  "package": "himalaya",
16019
- "type": "TextField",
16044
+ "type": "HStack",
16020
16045
  "props": {
16021
- "placeholder": "Promo code",
16022
- "valuePath": "$service:himiStoreCart.promoCode",
16023
- "onChange": {
16024
- "actionId": "tier5.himiStoreCart.setPromo"
16025
- },
16026
- "onSubmit": {
16027
- "actionId": "tier5.himiStoreCart.applyPromo"
16028
- },
16029
- "autoCapitalization": "characters",
16030
- "suggestions": "off",
16031
- "submitLabel": "done",
16032
- "clearButton": true,
16033
- "maxLength": 100,
16034
- "borderless": true
16046
+ "spacing": 8,
16047
+ "children": [
16048
+ {
16049
+ "id": "himi_cart.promo",
16050
+ "body": {
16051
+ "package": "himalaya",
16052
+ "type": "TextField",
16053
+ "props": {
16054
+ "placeholder": "Promo code",
16055
+ "valuePath": "$service:himiStoreCart.promoCode",
16056
+ "onChange": {
16057
+ "actionId": "tier5.himiStoreCart.setPromo"
16058
+ },
16059
+ "onSubmit": {
16060
+ "actionId": "tier5.himiStoreCart.applyPromo"
16061
+ },
16062
+ "autoCapitalization": "characters",
16063
+ "suggestions": "off",
16064
+ "submitLabel": "done",
16065
+ "clearButton": true,
16066
+ "maxLength": 100,
16067
+ "borderless": true
16068
+ }
16069
+ },
16070
+ "modifiers": {
16071
+ "weight": 1,
16072
+ "height": 44,
16073
+ "border": {
16074
+ "width": 1,
16075
+ "color": {
16076
+ "token": "border"
16077
+ }
16078
+ },
16079
+ "padding": {
16080
+ "leading": 12,
16081
+ "trailing": 12
16082
+ },
16083
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
16084
+ }
16085
+ },
16086
+ {
16087
+ "id": "himi_cart.apply_promo",
16088
+ "body": {
16089
+ "package": "himalaya",
16090
+ "type": "Button",
16091
+ "props": {
16092
+ "title": "Apply",
16093
+ "style": "secondary",
16094
+ "fullWidth": false,
16095
+ "action": {
16096
+ "actionId": "tier5.himiStoreCart.applyPromo"
16097
+ },
16098
+ "disabledPath": "$service:himiStoreCart.writeBusy"
16099
+ }
16100
+ },
16101
+ "modifiers": {
16102
+ "height": 44,
16103
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
16104
+ }
16105
+ },
16106
+ {
16107
+ "id": "",
16108
+ "body": {
16109
+ "package": "himalaya",
16110
+ "type": "HStack",
16111
+ "props": {
16112
+ "spacing": 8,
16113
+ "children": [
16114
+ {
16115
+ "id": "",
16116
+ "body": {
16117
+ "package": "himalaya",
16118
+ "type": "Text",
16119
+ "props": {
16120
+ "text": "$service:himiStoreCart.appliedLabel",
16121
+ "style": "footnote",
16122
+ "color": "textPrimary"
16123
+ }
16124
+ }
16125
+ },
16126
+ {
16127
+ "id": "",
16128
+ "body": {
16129
+ "package": "himalaya",
16130
+ "type": "Spacer",
16131
+ "props": {}
16132
+ }
16133
+ },
16134
+ {
16135
+ "id": "himi_cart.remove_promo",
16136
+ "body": {
16137
+ "package": "himalaya",
16138
+ "type": "Button",
16139
+ "props": {
16140
+ "title": "Remove promo code",
16141
+ "action": {
16142
+ "actionId": "tier5.himiStoreCart.removePromo"
16143
+ },
16144
+ "style": "tertiary",
16145
+ "iconOnly": true,
16146
+ "leadingIcon": "close",
16147
+ "cornerRadius": 22,
16148
+ "minHeight": 44,
16149
+ "disabledPath": "$service:himiStoreCart.writeBusy"
16150
+ }
16151
+ },
16152
+ "modifiers": {
16153
+ "width": 44,
16154
+ "height": 44,
16155
+ "accessibilityLabel": "Remove promo code",
16156
+ "accessibilityRole": "button"
16157
+ }
16158
+ }
16159
+ ]
16160
+ }
16161
+ },
16162
+ "modifiers": {
16163
+ "hiddenPath": "$service:himiStoreCart.noCoupon"
16164
+ }
16165
+ }
16166
+ ]
16035
16167
  }
16036
- },
16037
- "modifiers": {
16038
- "weight": 1,
16039
- "height": 36,
16040
- "border": {
16041
- "width": 1,
16042
- "color": {
16043
- "token": "border"
16044
- }
16045
- },
16046
- "padding": {
16047
- "leading": 12,
16048
- "trailing": 12
16049
- },
16050
- "hiddenPath": "$service:himiStoreCart.hasCoupon"
16051
16168
  }
16052
16169
  },
16053
16170
  {
16054
- "id": "himi_cart.apply_promo",
16171
+ "id": "himi_cart.promo_error",
16055
16172
  "body": {
16056
16173
  "package": "himalaya",
16057
- "type": "Button",
16174
+ "type": "Text",
16058
16175
  "props": {
16059
- "title": "Apply",
16060
- "style": "secondary",
16061
- "action": {
16062
- "actionId": "tier5.himiStoreCart.applyPromo"
16063
- },
16064
- "disabledPath": "$service:himiStoreCart.writeBusy"
16176
+ "text": "$service:himiStoreCart.promoError",
16177
+ "style": "footnote",
16178
+ "color": "danger"
16065
16179
  }
16066
16180
  },
16067
16181
  "modifiers": {
16068
- "height": 44,
16069
- "cornerRadius": 0,
16070
- "border": {
16071
- "width": 1,
16072
- "color": {
16073
- "token": "textPrimary"
16074
- }
16075
- },
16076
- "hiddenPath": "$service:himiStoreCart.hasCoupon"
16182
+ "hiddenPath": "$service:himiStoreCart.noPromoError"
16077
16183
  }
16078
16184
  },
16079
16185
  {
@@ -16090,8 +16196,8 @@ const SCREENS = runtimeSetting({
16090
16196
  "package": "himalaya",
16091
16197
  "type": "Text",
16092
16198
  "props": {
16093
- "text": "$service:himiStoreCart.appliedLabel",
16094
- "style": "footnote",
16199
+ "text": "Discount",
16200
+ "style": "body",
16095
16201
  "color": "textPrimary"
16096
16202
  }
16097
16203
  }
@@ -16105,158 +16211,126 @@ const SCREENS = runtimeSetting({
16105
16211
  }
16106
16212
  },
16107
16213
  {
16108
- "id": "himi_cart.remove_promo",
16214
+ "id": "",
16109
16215
  "body": {
16110
16216
  "package": "himalaya",
16111
- "type": "Button",
16217
+ "type": "Text",
16112
16218
  "props": {
16113
- "title": "Remove promo code",
16114
- "action": {
16115
- "actionId": "tier5.himiStoreCart.removePromo"
16116
- },
16117
- "style": "tertiary",
16118
- "iconOnly": true,
16119
- "leadingIcon": "close",
16120
- "cornerRadius": 22,
16121
- "minHeight": 44,
16122
- "disabledPath": "$service:himiStoreCart.writeBusy"
16219
+ "text": "$service:himiStoreCart.discount",
16220
+ "style": "body",
16221
+ "color": "success"
16123
16222
  }
16124
- },
16125
- "modifiers": {
16126
- "width": 44,
16127
- "height": 44,
16128
- "accessibilityLabel": "Remove promo code",
16129
- "accessibilityRole": "button"
16130
16223
  }
16131
16224
  }
16132
16225
  ]
16133
16226
  }
16134
16227
  },
16135
16228
  "modifiers": {
16136
- "hiddenPath": "$service:himiStoreCart.noCoupon"
16229
+ "hiddenPath": "$service:himiStoreCart.noDiscount"
16137
16230
  }
16138
- }
16139
- ]
16140
- }
16141
- }
16142
- },
16143
- {
16144
- "id": "himi_cart.promo_error",
16145
- "body": {
16146
- "package": "himalaya",
16147
- "type": "Text",
16148
- "props": {
16149
- "text": "$service:himiStoreCart.promoError",
16150
- "style": "footnote",
16151
- "color": "danger"
16152
- }
16153
- },
16154
- "modifiers": {
16155
- "hiddenPath": "$service:himiStoreCart.noPromoError"
16156
- }
16157
- },
16158
- {
16159
- "id": "",
16160
- "body": {
16161
- "package": "himalaya",
16162
- "type": "HStack",
16163
- "props": {
16164
- "spacing": 8,
16165
- "children": [
16231
+ },
16166
16232
  {
16167
- "id": "",
16233
+ "id": "himi_cart.subtotal",
16168
16234
  "body": {
16169
16235
  "package": "himalaya",
16170
- "type": "Text",
16236
+ "type": "HStack",
16171
16237
  "props": {
16172
- "text": "Discount",
16173
- "style": "body",
16174
- "color": "textPrimary"
16238
+ "spacing": 8,
16239
+ "children": [
16240
+ {
16241
+ "id": "",
16242
+ "body": {
16243
+ "package": "himalaya",
16244
+ "type": "Text",
16245
+ "props": {
16246
+ "text": "$service:himiStoreCart.subtotalLabel",
16247
+ "style": "bodyEmphasis"
16248
+ }
16249
+ }
16250
+ },
16251
+ {
16252
+ "id": "",
16253
+ "body": {
16254
+ "package": "himalaya",
16255
+ "type": "Spacer",
16256
+ "props": {}
16257
+ }
16258
+ },
16259
+ {
16260
+ "id": "",
16261
+ "body": {
16262
+ "package": "himalaya",
16263
+ "type": "Text",
16264
+ "props": {
16265
+ "text": "$service:himiStoreCart.subtotal",
16266
+ "style": "bodyEmphasis"
16267
+ }
16268
+ }
16269
+ }
16270
+ ]
16271
+ }
16272
+ },
16273
+ "modifiers": {
16274
+ "padding": {
16275
+ "top": 8
16175
16276
  }
16176
16277
  }
16177
16278
  },
16178
16279
  {
16179
- "id": "",
16180
- "body": {
16181
- "package": "himalaya",
16182
- "type": "Spacer",
16183
- "props": {}
16184
- }
16185
- },
16186
- {
16187
- "id": "",
16280
+ "id": "himi_cart.checkout_note",
16188
16281
  "body": {
16189
16282
  "package": "himalaya",
16190
16283
  "type": "Text",
16191
16284
  "props": {
16192
- "text": "$service:himiStoreCart.discount",
16193
- "style": "body",
16194
- "color": "success"
16285
+ "text": "Taxes and shipping are calculated at checkout.",
16286
+ "style": "footnote",
16287
+ "color": "textSecondary"
16195
16288
  }
16196
- }
16197
- }
16198
- ]
16199
- }
16200
- },
16201
- "modifiers": {
16202
- "hiddenPath": "$service:himiStoreCart.noDiscount"
16203
- }
16204
- },
16205
- {
16206
- "id": "",
16207
- "body": {
16208
- "package": "himalaya",
16209
- "type": "HStack",
16210
- "props": {
16211
- "spacing": 8,
16212
- "children": [
16213
- {
16214
- "id": "",
16215
- "body": {
16216
- "package": "himalaya",
16217
- "type": "Text",
16218
- "props": {
16219
- "text": "$service:himiStoreCart.subtotalLabel",
16220
- "style": "bodyEmphasis"
16289
+ },
16290
+ "modifiers": {
16291
+ "padding": {
16292
+ "bottom": 8
16293
+ },
16294
+ "theme": {
16295
+ "typography": {
16296
+ "footnote": {
16297
+ "size": 14,
16298
+ "weight": 400,
16299
+ "line": 1.4285714285714286,
16300
+ "letterSpacing": 0
16301
+ }
16302
+ }
16221
16303
  }
16222
16304
  }
16223
16305
  },
16224
16306
  {
16225
- "id": "",
16307
+ "id": "himi_cart.checkout",
16226
16308
  "body": {
16227
16309
  "package": "himalaya",
16228
- "type": "Spacer",
16229
- "props": {}
16230
- }
16231
- },
16232
- {
16233
- "id": "",
16234
- "body": {
16235
- "package": "himalaya",
16236
- "type": "Text",
16310
+ "type": "Button",
16237
16311
  "props": {
16238
- "text": "$service:himiStoreCart.subtotal",
16239
- "style": "bodyEmphasis"
16312
+ "title": "Checkout",
16313
+ "style": "primary",
16314
+ "fullWidth": true,
16315
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16316
+ "action": {
16317
+ "actionId": "tier5.himiStoreCart.checkout"
16318
+ }
16240
16319
  }
16241
16320
  }
16242
16321
  }
16243
16322
  ]
16244
16323
  }
16245
- }
16246
- },
16247
- {
16248
- "id": "himi_cart.checkout",
16249
- "body": {
16250
- "package": "himalaya",
16251
- "type": "Button",
16252
- "props": {
16253
- "title": "Checkout",
16254
- "style": "primary",
16255
- "fullWidth": true,
16256
- "disabledPath": "$service:himiStoreCart.writeBusy",
16257
- "action": {
16258
- "actionId": "tier5.himiStoreCart.checkout"
16259
- }
16324
+ },
16325
+ "modifiers": {
16326
+ "background": {
16327
+ "token": "surfacePrimary"
16328
+ },
16329
+ "padding": {
16330
+ "leading": 20,
16331
+ "trailing": 20,
16332
+ "top": 12,
16333
+ "bottom": 12
16260
16334
  }
16261
16335
  }
16262
16336
  }
@@ -16264,21 +16338,6 @@ const SCREENS = runtimeSetting({
16264
16338
  }
16265
16339
  },
16266
16340
  "modifiers": {
16267
- "background": {
16268
- "token": "surfacePrimary"
16269
- },
16270
- "border": {
16271
- "width": 1,
16272
- "color": {
16273
- "token": "border"
16274
- }
16275
- },
16276
- "padding": {
16277
- "leading": 20,
16278
- "trailing": 20,
16279
- "top": 12,
16280
- "bottom": 12
16281
- },
16282
16341
  "hiddenPath": "$service:himiStoreCart.noItems"
16283
16342
  }
16284
16343
  }