@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
@@ -15952,14 +15952,6 @@ const SCREENS = runtimeSetting({
15952
15952
  "spacing": 0,
15953
15953
  "alignment": "leading",
15954
15954
  "children": [
15955
- {
15956
- "id": "",
15957
- "body": {
15958
- "package": "himalaya",
15959
- "type": "Divider",
15960
- "props": {}
15961
- }
15962
- },
15963
15955
  {
15964
15956
  "id": "himi_cart.row_content",
15965
15957
  "body": {
@@ -15967,6 +15959,7 @@ const SCREENS = runtimeSetting({
15967
15959
  "type": "HStack",
15968
15960
  "props": {
15969
15961
  "spacing": 12,
15962
+ "alignment": "leading",
15970
15963
  "children": [
15971
15964
  {
15972
15965
  "id": "himi_cart.thumbnail",
@@ -15977,7 +15970,7 @@ const SCREENS = runtimeSetting({
15977
15970
  "url": "$item.image",
15978
15971
  "width": 112,
15979
15972
  "height": 144,
15980
- "contentMode": "fit",
15973
+ "contentMode": "fill",
15981
15974
  "shape": "rect",
15982
15975
  "contentDescription": "$item.name"
15983
15976
  }
@@ -16039,7 +16032,7 @@ const SCREENS = runtimeSetting({
16039
16032
  "package": "himalaya",
16040
16033
  "type": "VStack",
16041
16034
  "props": {
16042
- "spacing": 4,
16035
+ "spacing": 2,
16043
16036
  "alignment": "leading",
16044
16037
  "children": [
16045
16038
  {
@@ -16049,6 +16042,7 @@ const SCREENS = runtimeSetting({
16049
16042
  "type": "HStack",
16050
16043
  "props": {
16051
16044
  "spacing": 6,
16045
+ "alignment": "leading",
16052
16046
  "children": [
16053
16047
  {
16054
16048
  "id": "himi_cart.product_title",
@@ -16171,6 +16165,7 @@ const SCREENS = runtimeSetting({
16171
16165
  "type": "HStack",
16172
16166
  "props": {
16173
16167
  "spacing": 0,
16168
+ "alignment": "center",
16174
16169
  "children": [
16175
16170
  {
16176
16171
  "id": "himi_cart.qty_minus",
@@ -16190,7 +16185,8 @@ const SCREENS = runtimeSetting({
16190
16185
  "leadingIcon": "minus",
16191
16186
  "cornerRadius": 22,
16192
16187
  "minHeight": 44,
16193
- "disabledPath": "$service:himiStoreCart.writeBusy"
16188
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16189
+ "size": "sm"
16194
16190
  }
16195
16191
  },
16196
16192
  "modifiers": {
@@ -16234,7 +16230,8 @@ const SCREENS = runtimeSetting({
16234
16230
  "leadingIcon": "plus",
16235
16231
  "cornerRadius": 22,
16236
16232
  "minHeight": 44,
16237
- "disabledPath": "$service:himiStoreCart.writeBusy"
16233
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16234
+ "size": "sm"
16238
16235
  }
16239
16236
  },
16240
16237
  "modifiers": {
@@ -16271,7 +16268,8 @@ const SCREENS = runtimeSetting({
16271
16268
  "leadingIcon": "heart_fill",
16272
16269
  "cornerRadius": 22,
16273
16270
  "minHeight": 44,
16274
- "disabledPath": "$service:himiStoreCart.writeBusy"
16271
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16272
+ "size": "sm"
16275
16273
  }
16276
16274
  },
16277
16275
  "modifiers": {
@@ -16301,7 +16299,8 @@ const SCREENS = runtimeSetting({
16301
16299
  "leadingIcon": "heart",
16302
16300
  "cornerRadius": 22,
16303
16301
  "minHeight": 44,
16304
- "disabledPath": "$service:himiStoreCart.writeBusy"
16302
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16303
+ "size": "sm"
16305
16304
  }
16306
16305
  },
16307
16306
  "modifiers": {
@@ -16331,7 +16330,8 @@ const SCREENS = runtimeSetting({
16331
16330
  "leadingIcon": "trash",
16332
16331
  "cornerRadius": 22,
16333
16332
  "minHeight": 44,
16334
- "disabledPath": "$service:himiStoreCart.writeBusy"
16333
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16334
+ "size": "sm"
16335
16335
  }
16336
16336
  },
16337
16337
  "modifiers": {
@@ -16357,7 +16357,11 @@ const SCREENS = runtimeSetting({
16357
16357
  }
16358
16358
  },
16359
16359
  "modifiers": {
16360
- "fillMaxWidth": true
16360
+ "fillMaxWidth": true,
16361
+ "padding": {
16362
+ "top": 20,
16363
+ "bottom": 20
16364
+ }
16361
16365
  }
16362
16366
  },
16363
16367
  {
@@ -16372,9 +16376,21 @@ const SCREENS = runtimeSetting({
16372
16376
  }
16373
16377
  },
16374
16378
  "modifiers": {
16375
- "padding": {
16376
- "top": 16,
16377
- "bottom": 16
16379
+ "theme": {
16380
+ "typography": {
16381
+ "body": {
16382
+ "size": 14,
16383
+ "weight": 400,
16384
+ "line": 1.4285714285714286,
16385
+ "letterSpacing": 0
16386
+ },
16387
+ "bodyEmphasis": {
16388
+ "size": 14,
16389
+ "weight": 700,
16390
+ "line": 1.4285714285714286,
16391
+ "letterSpacing": 0
16392
+ }
16393
+ }
16378
16394
  }
16379
16395
  }
16380
16396
  }
@@ -16527,79 +16543,169 @@ const SCREENS = runtimeSetting({
16527
16543
  "package": "himalaya",
16528
16544
  "type": "VStack",
16529
16545
  "props": {
16530
- "spacing": 10,
16546
+ "spacing": 0,
16531
16547
  "alignment": "leading",
16532
16548
  "children": [
16533
16549
  {
16534
- "id": "",
16550
+ "id": "himi_cart.footer_divider",
16535
16551
  "body": {
16536
16552
  "package": "himalaya",
16537
- "type": "HStack",
16553
+ "type": "Divider",
16554
+ "props": {}
16555
+ }
16556
+ },
16557
+ {
16558
+ "id": "himi_cart.footer_content",
16559
+ "body": {
16560
+ "package": "himalaya",
16561
+ "type": "VStack",
16538
16562
  "props": {
16539
- "spacing": 8,
16563
+ "spacing": 10,
16564
+ "alignment": "leading",
16540
16565
  "children": [
16541
16566
  {
16542
- "id": "himi_cart.promo",
16567
+ "id": "",
16543
16568
  "body": {
16544
16569
  "package": "himalaya",
16545
- "type": "TextField",
16570
+ "type": "HStack",
16546
16571
  "props": {
16547
- "placeholder": "Promo code",
16548
- "valuePath": "$service:himiStoreCart.promoCode",
16549
- "onChange": {
16550
- "actionId": "tier5.himiStoreCart.setPromo"
16551
- },
16552
- "onSubmit": {
16553
- "actionId": "tier5.himiStoreCart.applyPromo"
16554
- },
16555
- "autoCapitalization": "characters",
16556
- "suggestions": "off",
16557
- "submitLabel": "done",
16558
- "clearButton": true,
16559
- "maxLength": 100,
16560
- "borderless": true
16572
+ "spacing": 8,
16573
+ "children": [
16574
+ {
16575
+ "id": "himi_cart.promo",
16576
+ "body": {
16577
+ "package": "himalaya",
16578
+ "type": "TextField",
16579
+ "props": {
16580
+ "placeholder": "Promo code",
16581
+ "valuePath": "$service:himiStoreCart.promoCode",
16582
+ "onChange": {
16583
+ "actionId": "tier5.himiStoreCart.setPromo"
16584
+ },
16585
+ "onSubmit": {
16586
+ "actionId": "tier5.himiStoreCart.applyPromo"
16587
+ },
16588
+ "autoCapitalization": "characters",
16589
+ "suggestions": "off",
16590
+ "submitLabel": "done",
16591
+ "clearButton": true,
16592
+ "maxLength": 100,
16593
+ "borderless": true
16594
+ }
16595
+ },
16596
+ "modifiers": {
16597
+ "weight": 1,
16598
+ "height": 44,
16599
+ "border": {
16600
+ "width": 1,
16601
+ "color": {
16602
+ "token": "border"
16603
+ }
16604
+ },
16605
+ "padding": {
16606
+ "leading": 12,
16607
+ "trailing": 12
16608
+ },
16609
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
16610
+ }
16611
+ },
16612
+ {
16613
+ "id": "himi_cart.apply_promo",
16614
+ "body": {
16615
+ "package": "himalaya",
16616
+ "type": "Button",
16617
+ "props": {
16618
+ "title": "Apply",
16619
+ "style": "secondary",
16620
+ "fullWidth": false,
16621
+ "action": {
16622
+ "actionId": "tier5.himiStoreCart.applyPromo"
16623
+ },
16624
+ "disabledPath": "$service:himiStoreCart.writeBusy"
16625
+ }
16626
+ },
16627
+ "modifiers": {
16628
+ "height": 44,
16629
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
16630
+ }
16631
+ },
16632
+ {
16633
+ "id": "",
16634
+ "body": {
16635
+ "package": "himalaya",
16636
+ "type": "HStack",
16637
+ "props": {
16638
+ "spacing": 8,
16639
+ "children": [
16640
+ {
16641
+ "id": "",
16642
+ "body": {
16643
+ "package": "himalaya",
16644
+ "type": "Text",
16645
+ "props": {
16646
+ "text": "$service:himiStoreCart.appliedLabel",
16647
+ "style": "footnote",
16648
+ "color": "textPrimary"
16649
+ }
16650
+ }
16651
+ },
16652
+ {
16653
+ "id": "",
16654
+ "body": {
16655
+ "package": "himalaya",
16656
+ "type": "Spacer",
16657
+ "props": {}
16658
+ }
16659
+ },
16660
+ {
16661
+ "id": "himi_cart.remove_promo",
16662
+ "body": {
16663
+ "package": "himalaya",
16664
+ "type": "Button",
16665
+ "props": {
16666
+ "title": "Remove promo code",
16667
+ "action": {
16668
+ "actionId": "tier5.himiStoreCart.removePromo"
16669
+ },
16670
+ "style": "tertiary",
16671
+ "iconOnly": true,
16672
+ "leadingIcon": "close",
16673
+ "cornerRadius": 22,
16674
+ "minHeight": 44,
16675
+ "disabledPath": "$service:himiStoreCart.writeBusy"
16676
+ }
16677
+ },
16678
+ "modifiers": {
16679
+ "width": 44,
16680
+ "height": 44,
16681
+ "accessibilityLabel": "Remove promo code",
16682
+ "accessibilityRole": "button"
16683
+ }
16684
+ }
16685
+ ]
16686
+ }
16687
+ },
16688
+ "modifiers": {
16689
+ "hiddenPath": "$service:himiStoreCart.noCoupon"
16690
+ }
16691
+ }
16692
+ ]
16561
16693
  }
16562
- },
16563
- "modifiers": {
16564
- "weight": 1,
16565
- "height": 36,
16566
- "border": {
16567
- "width": 1,
16568
- "color": {
16569
- "token": "border"
16570
- }
16571
- },
16572
- "padding": {
16573
- "leading": 12,
16574
- "trailing": 12
16575
- },
16576
- "hiddenPath": "$service:himiStoreCart.hasCoupon"
16577
16694
  }
16578
16695
  },
16579
16696
  {
16580
- "id": "himi_cart.apply_promo",
16697
+ "id": "himi_cart.promo_error",
16581
16698
  "body": {
16582
16699
  "package": "himalaya",
16583
- "type": "Button",
16700
+ "type": "Text",
16584
16701
  "props": {
16585
- "title": "Apply",
16586
- "style": "secondary",
16587
- "action": {
16588
- "actionId": "tier5.himiStoreCart.applyPromo"
16589
- },
16590
- "disabledPath": "$service:himiStoreCart.writeBusy"
16702
+ "text": "$service:himiStoreCart.promoError",
16703
+ "style": "footnote",
16704
+ "color": "danger"
16591
16705
  }
16592
16706
  },
16593
16707
  "modifiers": {
16594
- "height": 44,
16595
- "cornerRadius": 0,
16596
- "border": {
16597
- "width": 1,
16598
- "color": {
16599
- "token": "textPrimary"
16600
- }
16601
- },
16602
- "hiddenPath": "$service:himiStoreCart.hasCoupon"
16708
+ "hiddenPath": "$service:himiStoreCart.noPromoError"
16603
16709
  }
16604
16710
  },
16605
16711
  {
@@ -16616,8 +16722,8 @@ const SCREENS = runtimeSetting({
16616
16722
  "package": "himalaya",
16617
16723
  "type": "Text",
16618
16724
  "props": {
16619
- "text": "$service:himiStoreCart.appliedLabel",
16620
- "style": "footnote",
16725
+ "text": "Discount",
16726
+ "style": "body",
16621
16727
  "color": "textPrimary"
16622
16728
  }
16623
16729
  }
@@ -16631,158 +16737,126 @@ const SCREENS = runtimeSetting({
16631
16737
  }
16632
16738
  },
16633
16739
  {
16634
- "id": "himi_cart.remove_promo",
16740
+ "id": "",
16635
16741
  "body": {
16636
16742
  "package": "himalaya",
16637
- "type": "Button",
16743
+ "type": "Text",
16638
16744
  "props": {
16639
- "title": "Remove promo code",
16640
- "action": {
16641
- "actionId": "tier5.himiStoreCart.removePromo"
16642
- },
16643
- "style": "tertiary",
16644
- "iconOnly": true,
16645
- "leadingIcon": "close",
16646
- "cornerRadius": 22,
16647
- "minHeight": 44,
16648
- "disabledPath": "$service:himiStoreCart.writeBusy"
16745
+ "text": "$service:himiStoreCart.discount",
16746
+ "style": "body",
16747
+ "color": "success"
16649
16748
  }
16650
- },
16651
- "modifiers": {
16652
- "width": 44,
16653
- "height": 44,
16654
- "accessibilityLabel": "Remove promo code",
16655
- "accessibilityRole": "button"
16656
16749
  }
16657
16750
  }
16658
16751
  ]
16659
16752
  }
16660
16753
  },
16661
16754
  "modifiers": {
16662
- "hiddenPath": "$service:himiStoreCart.noCoupon"
16755
+ "hiddenPath": "$service:himiStoreCart.noDiscount"
16663
16756
  }
16664
- }
16665
- ]
16666
- }
16667
- }
16668
- },
16669
- {
16670
- "id": "himi_cart.promo_error",
16671
- "body": {
16672
- "package": "himalaya",
16673
- "type": "Text",
16674
- "props": {
16675
- "text": "$service:himiStoreCart.promoError",
16676
- "style": "footnote",
16677
- "color": "danger"
16678
- }
16679
- },
16680
- "modifiers": {
16681
- "hiddenPath": "$service:himiStoreCart.noPromoError"
16682
- }
16683
- },
16684
- {
16685
- "id": "",
16686
- "body": {
16687
- "package": "himalaya",
16688
- "type": "HStack",
16689
- "props": {
16690
- "spacing": 8,
16691
- "children": [
16757
+ },
16692
16758
  {
16693
- "id": "",
16759
+ "id": "himi_cart.subtotal",
16694
16760
  "body": {
16695
16761
  "package": "himalaya",
16696
- "type": "Text",
16762
+ "type": "HStack",
16697
16763
  "props": {
16698
- "text": "Discount",
16699
- "style": "body",
16700
- "color": "textPrimary"
16764
+ "spacing": 8,
16765
+ "children": [
16766
+ {
16767
+ "id": "",
16768
+ "body": {
16769
+ "package": "himalaya",
16770
+ "type": "Text",
16771
+ "props": {
16772
+ "text": "$service:himiStoreCart.subtotalLabel",
16773
+ "style": "bodyEmphasis"
16774
+ }
16775
+ }
16776
+ },
16777
+ {
16778
+ "id": "",
16779
+ "body": {
16780
+ "package": "himalaya",
16781
+ "type": "Spacer",
16782
+ "props": {}
16783
+ }
16784
+ },
16785
+ {
16786
+ "id": "",
16787
+ "body": {
16788
+ "package": "himalaya",
16789
+ "type": "Text",
16790
+ "props": {
16791
+ "text": "$service:himiStoreCart.subtotal",
16792
+ "style": "bodyEmphasis"
16793
+ }
16794
+ }
16795
+ }
16796
+ ]
16797
+ }
16798
+ },
16799
+ "modifiers": {
16800
+ "padding": {
16801
+ "top": 8
16701
16802
  }
16702
16803
  }
16703
16804
  },
16704
16805
  {
16705
- "id": "",
16706
- "body": {
16707
- "package": "himalaya",
16708
- "type": "Spacer",
16709
- "props": {}
16710
- }
16711
- },
16712
- {
16713
- "id": "",
16806
+ "id": "himi_cart.checkout_note",
16714
16807
  "body": {
16715
16808
  "package": "himalaya",
16716
16809
  "type": "Text",
16717
16810
  "props": {
16718
- "text": "$service:himiStoreCart.discount",
16719
- "style": "body",
16720
- "color": "success"
16811
+ "text": "Taxes and shipping are calculated at checkout.",
16812
+ "style": "footnote",
16813
+ "color": "textSecondary"
16721
16814
  }
16722
- }
16723
- }
16724
- ]
16725
- }
16726
- },
16727
- "modifiers": {
16728
- "hiddenPath": "$service:himiStoreCart.noDiscount"
16729
- }
16730
- },
16731
- {
16732
- "id": "",
16733
- "body": {
16734
- "package": "himalaya",
16735
- "type": "HStack",
16736
- "props": {
16737
- "spacing": 8,
16738
- "children": [
16739
- {
16740
- "id": "",
16741
- "body": {
16742
- "package": "himalaya",
16743
- "type": "Text",
16744
- "props": {
16745
- "text": "$service:himiStoreCart.subtotalLabel",
16746
- "style": "bodyEmphasis"
16815
+ },
16816
+ "modifiers": {
16817
+ "padding": {
16818
+ "bottom": 8
16819
+ },
16820
+ "theme": {
16821
+ "typography": {
16822
+ "footnote": {
16823
+ "size": 14,
16824
+ "weight": 400,
16825
+ "line": 1.4285714285714286,
16826
+ "letterSpacing": 0
16827
+ }
16828
+ }
16747
16829
  }
16748
16830
  }
16749
16831
  },
16750
16832
  {
16751
- "id": "",
16833
+ "id": "himi_cart.checkout",
16752
16834
  "body": {
16753
16835
  "package": "himalaya",
16754
- "type": "Spacer",
16755
- "props": {}
16756
- }
16757
- },
16758
- {
16759
- "id": "",
16760
- "body": {
16761
- "package": "himalaya",
16762
- "type": "Text",
16836
+ "type": "Button",
16763
16837
  "props": {
16764
- "text": "$service:himiStoreCart.subtotal",
16765
- "style": "bodyEmphasis"
16838
+ "title": "Checkout",
16839
+ "style": "primary",
16840
+ "fullWidth": true,
16841
+ "disabledPath": "$service:himiStoreCart.writeBusy",
16842
+ "action": {
16843
+ "actionId": "tier5.himiStoreCart.checkout"
16844
+ }
16766
16845
  }
16767
16846
  }
16768
16847
  }
16769
16848
  ]
16770
16849
  }
16771
- }
16772
- },
16773
- {
16774
- "id": "himi_cart.checkout",
16775
- "body": {
16776
- "package": "himalaya",
16777
- "type": "Button",
16778
- "props": {
16779
- "title": "Checkout",
16780
- "style": "primary",
16781
- "fullWidth": true,
16782
- "disabledPath": "$service:himiStoreCart.writeBusy",
16783
- "action": {
16784
- "actionId": "tier5.himiStoreCart.checkout"
16785
- }
16850
+ },
16851
+ "modifiers": {
16852
+ "background": {
16853
+ "token": "surfacePrimary"
16854
+ },
16855
+ "padding": {
16856
+ "leading": 20,
16857
+ "trailing": 20,
16858
+ "top": 12,
16859
+ "bottom": 12
16786
16860
  }
16787
16861
  }
16788
16862
  }
@@ -16790,21 +16864,6 @@ const SCREENS = runtimeSetting({
16790
16864
  }
16791
16865
  },
16792
16866
  "modifiers": {
16793
- "background": {
16794
- "token": "surfacePrimary"
16795
- },
16796
- "border": {
16797
- "width": 1,
16798
- "color": {
16799
- "token": "border"
16800
- }
16801
- },
16802
- "padding": {
16803
- "leading": 20,
16804
- "trailing": 20,
16805
- "top": 12,
16806
- "bottom": 12
16807
- },
16808
16867
  "hiddenPath": "$service:himiStoreCart.noItems"
16809
16868
  }
16810
16869
  }