@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
@@ -14906,14 +14906,6 @@ const SCREENS = runtimeSetting({
14906
14906
  "spacing": 0,
14907
14907
  "alignment": "leading",
14908
14908
  "children": [
14909
- {
14910
- "id": "",
14911
- "body": {
14912
- "package": "himalaya",
14913
- "type": "Divider",
14914
- "props": {}
14915
- }
14916
- },
14917
14909
  {
14918
14910
  "id": "himi_cart.row_content",
14919
14911
  "body": {
@@ -14921,6 +14913,7 @@ const SCREENS = runtimeSetting({
14921
14913
  "type": "HStack",
14922
14914
  "props": {
14923
14915
  "spacing": 12,
14916
+ "alignment": "leading",
14924
14917
  "children": [
14925
14918
  {
14926
14919
  "id": "himi_cart.thumbnail",
@@ -14931,7 +14924,7 @@ const SCREENS = runtimeSetting({
14931
14924
  "url": "$item.image",
14932
14925
  "width": 112,
14933
14926
  "height": 144,
14934
- "contentMode": "fit",
14927
+ "contentMode": "fill",
14935
14928
  "shape": "rect",
14936
14929
  "contentDescription": "$item.name"
14937
14930
  }
@@ -14993,7 +14986,7 @@ const SCREENS = runtimeSetting({
14993
14986
  "package": "himalaya",
14994
14987
  "type": "VStack",
14995
14988
  "props": {
14996
- "spacing": 4,
14989
+ "spacing": 2,
14997
14990
  "alignment": "leading",
14998
14991
  "children": [
14999
14992
  {
@@ -15003,6 +14996,7 @@ const SCREENS = runtimeSetting({
15003
14996
  "type": "HStack",
15004
14997
  "props": {
15005
14998
  "spacing": 6,
14999
+ "alignment": "leading",
15006
15000
  "children": [
15007
15001
  {
15008
15002
  "id": "himi_cart.product_title",
@@ -15125,6 +15119,7 @@ const SCREENS = runtimeSetting({
15125
15119
  "type": "HStack",
15126
15120
  "props": {
15127
15121
  "spacing": 0,
15122
+ "alignment": "center",
15128
15123
  "children": [
15129
15124
  {
15130
15125
  "id": "himi_cart.qty_minus",
@@ -15144,7 +15139,8 @@ const SCREENS = runtimeSetting({
15144
15139
  "leadingIcon": "minus",
15145
15140
  "cornerRadius": 22,
15146
15141
  "minHeight": 44,
15147
- "disabledPath": "$service:himiStoreCart.writeBusy"
15142
+ "disabledPath": "$service:himiStoreCart.writeBusy",
15143
+ "size": "sm"
15148
15144
  }
15149
15145
  },
15150
15146
  "modifiers": {
@@ -15188,7 +15184,8 @@ const SCREENS = runtimeSetting({
15188
15184
  "leadingIcon": "plus",
15189
15185
  "cornerRadius": 22,
15190
15186
  "minHeight": 44,
15191
- "disabledPath": "$service:himiStoreCart.writeBusy"
15187
+ "disabledPath": "$service:himiStoreCart.writeBusy",
15188
+ "size": "sm"
15192
15189
  }
15193
15190
  },
15194
15191
  "modifiers": {
@@ -15225,7 +15222,8 @@ const SCREENS = runtimeSetting({
15225
15222
  "leadingIcon": "heart_fill",
15226
15223
  "cornerRadius": 22,
15227
15224
  "minHeight": 44,
15228
- "disabledPath": "$service:himiStoreCart.writeBusy"
15225
+ "disabledPath": "$service:himiStoreCart.writeBusy",
15226
+ "size": "sm"
15229
15227
  }
15230
15228
  },
15231
15229
  "modifiers": {
@@ -15255,7 +15253,8 @@ const SCREENS = runtimeSetting({
15255
15253
  "leadingIcon": "heart",
15256
15254
  "cornerRadius": 22,
15257
15255
  "minHeight": 44,
15258
- "disabledPath": "$service:himiStoreCart.writeBusy"
15256
+ "disabledPath": "$service:himiStoreCart.writeBusy",
15257
+ "size": "sm"
15259
15258
  }
15260
15259
  },
15261
15260
  "modifiers": {
@@ -15285,7 +15284,8 @@ const SCREENS = runtimeSetting({
15285
15284
  "leadingIcon": "trash",
15286
15285
  "cornerRadius": 22,
15287
15286
  "minHeight": 44,
15288
- "disabledPath": "$service:himiStoreCart.writeBusy"
15287
+ "disabledPath": "$service:himiStoreCart.writeBusy",
15288
+ "size": "sm"
15289
15289
  }
15290
15290
  },
15291
15291
  "modifiers": {
@@ -15311,7 +15311,11 @@ const SCREENS = runtimeSetting({
15311
15311
  }
15312
15312
  },
15313
15313
  "modifiers": {
15314
- "fillMaxWidth": true
15314
+ "fillMaxWidth": true,
15315
+ "padding": {
15316
+ "top": 20,
15317
+ "bottom": 20
15318
+ }
15315
15319
  }
15316
15320
  },
15317
15321
  {
@@ -15326,9 +15330,21 @@ const SCREENS = runtimeSetting({
15326
15330
  }
15327
15331
  },
15328
15332
  "modifiers": {
15329
- "padding": {
15330
- "top": 16,
15331
- "bottom": 16
15333
+ "theme": {
15334
+ "typography": {
15335
+ "body": {
15336
+ "size": 14,
15337
+ "weight": 400,
15338
+ "line": 1.4285714285714286,
15339
+ "letterSpacing": 0
15340
+ },
15341
+ "bodyEmphasis": {
15342
+ "size": 14,
15343
+ "weight": 700,
15344
+ "line": 1.4285714285714286,
15345
+ "letterSpacing": 0
15346
+ }
15347
+ }
15332
15348
  }
15333
15349
  }
15334
15350
  }
@@ -15481,79 +15497,169 @@ const SCREENS = runtimeSetting({
15481
15497
  "package": "himalaya",
15482
15498
  "type": "VStack",
15483
15499
  "props": {
15484
- "spacing": 10,
15500
+ "spacing": 0,
15485
15501
  "alignment": "leading",
15486
15502
  "children": [
15487
15503
  {
15488
- "id": "",
15504
+ "id": "himi_cart.footer_divider",
15489
15505
  "body": {
15490
15506
  "package": "himalaya",
15491
- "type": "HStack",
15507
+ "type": "Divider",
15508
+ "props": {}
15509
+ }
15510
+ },
15511
+ {
15512
+ "id": "himi_cart.footer_content",
15513
+ "body": {
15514
+ "package": "himalaya",
15515
+ "type": "VStack",
15492
15516
  "props": {
15493
- "spacing": 8,
15517
+ "spacing": 10,
15518
+ "alignment": "leading",
15494
15519
  "children": [
15495
15520
  {
15496
- "id": "himi_cart.promo",
15521
+ "id": "",
15497
15522
  "body": {
15498
15523
  "package": "himalaya",
15499
- "type": "TextField",
15524
+ "type": "HStack",
15500
15525
  "props": {
15501
- "placeholder": "Promo code",
15502
- "valuePath": "$service:himiStoreCart.promoCode",
15503
- "onChange": {
15504
- "actionId": "tier5.himiStoreCart.setPromo"
15505
- },
15506
- "onSubmit": {
15507
- "actionId": "tier5.himiStoreCart.applyPromo"
15508
- },
15509
- "autoCapitalization": "characters",
15510
- "suggestions": "off",
15511
- "submitLabel": "done",
15512
- "clearButton": true,
15513
- "maxLength": 100,
15514
- "borderless": true
15526
+ "spacing": 8,
15527
+ "children": [
15528
+ {
15529
+ "id": "himi_cart.promo",
15530
+ "body": {
15531
+ "package": "himalaya",
15532
+ "type": "TextField",
15533
+ "props": {
15534
+ "placeholder": "Promo code",
15535
+ "valuePath": "$service:himiStoreCart.promoCode",
15536
+ "onChange": {
15537
+ "actionId": "tier5.himiStoreCart.setPromo"
15538
+ },
15539
+ "onSubmit": {
15540
+ "actionId": "tier5.himiStoreCart.applyPromo"
15541
+ },
15542
+ "autoCapitalization": "characters",
15543
+ "suggestions": "off",
15544
+ "submitLabel": "done",
15545
+ "clearButton": true,
15546
+ "maxLength": 100,
15547
+ "borderless": true
15548
+ }
15549
+ },
15550
+ "modifiers": {
15551
+ "weight": 1,
15552
+ "height": 44,
15553
+ "border": {
15554
+ "width": 1,
15555
+ "color": {
15556
+ "token": "border"
15557
+ }
15558
+ },
15559
+ "padding": {
15560
+ "leading": 12,
15561
+ "trailing": 12
15562
+ },
15563
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
15564
+ }
15565
+ },
15566
+ {
15567
+ "id": "himi_cart.apply_promo",
15568
+ "body": {
15569
+ "package": "himalaya",
15570
+ "type": "Button",
15571
+ "props": {
15572
+ "title": "Apply",
15573
+ "style": "secondary",
15574
+ "fullWidth": false,
15575
+ "action": {
15576
+ "actionId": "tier5.himiStoreCart.applyPromo"
15577
+ },
15578
+ "disabledPath": "$service:himiStoreCart.writeBusy"
15579
+ }
15580
+ },
15581
+ "modifiers": {
15582
+ "height": 44,
15583
+ "hiddenPath": "$service:himiStoreCart.hasCoupon"
15584
+ }
15585
+ },
15586
+ {
15587
+ "id": "",
15588
+ "body": {
15589
+ "package": "himalaya",
15590
+ "type": "HStack",
15591
+ "props": {
15592
+ "spacing": 8,
15593
+ "children": [
15594
+ {
15595
+ "id": "",
15596
+ "body": {
15597
+ "package": "himalaya",
15598
+ "type": "Text",
15599
+ "props": {
15600
+ "text": "$service:himiStoreCart.appliedLabel",
15601
+ "style": "footnote",
15602
+ "color": "textPrimary"
15603
+ }
15604
+ }
15605
+ },
15606
+ {
15607
+ "id": "",
15608
+ "body": {
15609
+ "package": "himalaya",
15610
+ "type": "Spacer",
15611
+ "props": {}
15612
+ }
15613
+ },
15614
+ {
15615
+ "id": "himi_cart.remove_promo",
15616
+ "body": {
15617
+ "package": "himalaya",
15618
+ "type": "Button",
15619
+ "props": {
15620
+ "title": "Remove promo code",
15621
+ "action": {
15622
+ "actionId": "tier5.himiStoreCart.removePromo"
15623
+ },
15624
+ "style": "tertiary",
15625
+ "iconOnly": true,
15626
+ "leadingIcon": "close",
15627
+ "cornerRadius": 22,
15628
+ "minHeight": 44,
15629
+ "disabledPath": "$service:himiStoreCart.writeBusy"
15630
+ }
15631
+ },
15632
+ "modifiers": {
15633
+ "width": 44,
15634
+ "height": 44,
15635
+ "accessibilityLabel": "Remove promo code",
15636
+ "accessibilityRole": "button"
15637
+ }
15638
+ }
15639
+ ]
15640
+ }
15641
+ },
15642
+ "modifiers": {
15643
+ "hiddenPath": "$service:himiStoreCart.noCoupon"
15644
+ }
15645
+ }
15646
+ ]
15515
15647
  }
15516
- },
15517
- "modifiers": {
15518
- "weight": 1,
15519
- "height": 36,
15520
- "border": {
15521
- "width": 1,
15522
- "color": {
15523
- "token": "border"
15524
- }
15525
- },
15526
- "padding": {
15527
- "leading": 12,
15528
- "trailing": 12
15529
- },
15530
- "hiddenPath": "$service:himiStoreCart.hasCoupon"
15531
15648
  }
15532
15649
  },
15533
15650
  {
15534
- "id": "himi_cart.apply_promo",
15651
+ "id": "himi_cart.promo_error",
15535
15652
  "body": {
15536
15653
  "package": "himalaya",
15537
- "type": "Button",
15654
+ "type": "Text",
15538
15655
  "props": {
15539
- "title": "Apply",
15540
- "style": "secondary",
15541
- "action": {
15542
- "actionId": "tier5.himiStoreCart.applyPromo"
15543
- },
15544
- "disabledPath": "$service:himiStoreCart.writeBusy"
15656
+ "text": "$service:himiStoreCart.promoError",
15657
+ "style": "footnote",
15658
+ "color": "danger"
15545
15659
  }
15546
15660
  },
15547
15661
  "modifiers": {
15548
- "height": 44,
15549
- "cornerRadius": 0,
15550
- "border": {
15551
- "width": 1,
15552
- "color": {
15553
- "token": "textPrimary"
15554
- }
15555
- },
15556
- "hiddenPath": "$service:himiStoreCart.hasCoupon"
15662
+ "hiddenPath": "$service:himiStoreCart.noPromoError"
15557
15663
  }
15558
15664
  },
15559
15665
  {
@@ -15570,8 +15676,8 @@ const SCREENS = runtimeSetting({
15570
15676
  "package": "himalaya",
15571
15677
  "type": "Text",
15572
15678
  "props": {
15573
- "text": "$service:himiStoreCart.appliedLabel",
15574
- "style": "footnote",
15679
+ "text": "Discount",
15680
+ "style": "body",
15575
15681
  "color": "textPrimary"
15576
15682
  }
15577
15683
  }
@@ -15585,158 +15691,126 @@ const SCREENS = runtimeSetting({
15585
15691
  }
15586
15692
  },
15587
15693
  {
15588
- "id": "himi_cart.remove_promo",
15694
+ "id": "",
15589
15695
  "body": {
15590
15696
  "package": "himalaya",
15591
- "type": "Button",
15697
+ "type": "Text",
15592
15698
  "props": {
15593
- "title": "Remove promo code",
15594
- "action": {
15595
- "actionId": "tier5.himiStoreCart.removePromo"
15596
- },
15597
- "style": "tertiary",
15598
- "iconOnly": true,
15599
- "leadingIcon": "close",
15600
- "cornerRadius": 22,
15601
- "minHeight": 44,
15602
- "disabledPath": "$service:himiStoreCart.writeBusy"
15699
+ "text": "$service:himiStoreCart.discount",
15700
+ "style": "body",
15701
+ "color": "success"
15603
15702
  }
15604
- },
15605
- "modifiers": {
15606
- "width": 44,
15607
- "height": 44,
15608
- "accessibilityLabel": "Remove promo code",
15609
- "accessibilityRole": "button"
15610
15703
  }
15611
15704
  }
15612
15705
  ]
15613
15706
  }
15614
15707
  },
15615
15708
  "modifiers": {
15616
- "hiddenPath": "$service:himiStoreCart.noCoupon"
15709
+ "hiddenPath": "$service:himiStoreCart.noDiscount"
15617
15710
  }
15618
- }
15619
- ]
15620
- }
15621
- }
15622
- },
15623
- {
15624
- "id": "himi_cart.promo_error",
15625
- "body": {
15626
- "package": "himalaya",
15627
- "type": "Text",
15628
- "props": {
15629
- "text": "$service:himiStoreCart.promoError",
15630
- "style": "footnote",
15631
- "color": "danger"
15632
- }
15633
- },
15634
- "modifiers": {
15635
- "hiddenPath": "$service:himiStoreCart.noPromoError"
15636
- }
15637
- },
15638
- {
15639
- "id": "",
15640
- "body": {
15641
- "package": "himalaya",
15642
- "type": "HStack",
15643
- "props": {
15644
- "spacing": 8,
15645
- "children": [
15711
+ },
15646
15712
  {
15647
- "id": "",
15713
+ "id": "himi_cart.subtotal",
15648
15714
  "body": {
15649
15715
  "package": "himalaya",
15650
- "type": "Text",
15716
+ "type": "HStack",
15651
15717
  "props": {
15652
- "text": "Discount",
15653
- "style": "body",
15654
- "color": "textPrimary"
15718
+ "spacing": 8,
15719
+ "children": [
15720
+ {
15721
+ "id": "",
15722
+ "body": {
15723
+ "package": "himalaya",
15724
+ "type": "Text",
15725
+ "props": {
15726
+ "text": "$service:himiStoreCart.subtotalLabel",
15727
+ "style": "bodyEmphasis"
15728
+ }
15729
+ }
15730
+ },
15731
+ {
15732
+ "id": "",
15733
+ "body": {
15734
+ "package": "himalaya",
15735
+ "type": "Spacer",
15736
+ "props": {}
15737
+ }
15738
+ },
15739
+ {
15740
+ "id": "",
15741
+ "body": {
15742
+ "package": "himalaya",
15743
+ "type": "Text",
15744
+ "props": {
15745
+ "text": "$service:himiStoreCart.subtotal",
15746
+ "style": "bodyEmphasis"
15747
+ }
15748
+ }
15749
+ }
15750
+ ]
15751
+ }
15752
+ },
15753
+ "modifiers": {
15754
+ "padding": {
15755
+ "top": 8
15655
15756
  }
15656
15757
  }
15657
15758
  },
15658
15759
  {
15659
- "id": "",
15660
- "body": {
15661
- "package": "himalaya",
15662
- "type": "Spacer",
15663
- "props": {}
15664
- }
15665
- },
15666
- {
15667
- "id": "",
15760
+ "id": "himi_cart.checkout_note",
15668
15761
  "body": {
15669
15762
  "package": "himalaya",
15670
15763
  "type": "Text",
15671
15764
  "props": {
15672
- "text": "$service:himiStoreCart.discount",
15673
- "style": "body",
15674
- "color": "success"
15765
+ "text": "Taxes and shipping are calculated at checkout.",
15766
+ "style": "footnote",
15767
+ "color": "textSecondary"
15675
15768
  }
15676
- }
15677
- }
15678
- ]
15679
- }
15680
- },
15681
- "modifiers": {
15682
- "hiddenPath": "$service:himiStoreCart.noDiscount"
15683
- }
15684
- },
15685
- {
15686
- "id": "",
15687
- "body": {
15688
- "package": "himalaya",
15689
- "type": "HStack",
15690
- "props": {
15691
- "spacing": 8,
15692
- "children": [
15693
- {
15694
- "id": "",
15695
- "body": {
15696
- "package": "himalaya",
15697
- "type": "Text",
15698
- "props": {
15699
- "text": "$service:himiStoreCart.subtotalLabel",
15700
- "style": "bodyEmphasis"
15769
+ },
15770
+ "modifiers": {
15771
+ "padding": {
15772
+ "bottom": 8
15773
+ },
15774
+ "theme": {
15775
+ "typography": {
15776
+ "footnote": {
15777
+ "size": 14,
15778
+ "weight": 400,
15779
+ "line": 1.4285714285714286,
15780
+ "letterSpacing": 0
15781
+ }
15782
+ }
15701
15783
  }
15702
15784
  }
15703
15785
  },
15704
15786
  {
15705
- "id": "",
15706
- "body": {
15707
- "package": "himalaya",
15708
- "type": "Spacer",
15709
- "props": {}
15710
- }
15711
- },
15712
- {
15713
- "id": "",
15787
+ "id": "himi_cart.checkout",
15714
15788
  "body": {
15715
15789
  "package": "himalaya",
15716
- "type": "Text",
15790
+ "type": "Button",
15717
15791
  "props": {
15718
- "text": "$service:himiStoreCart.subtotal",
15719
- "style": "bodyEmphasis"
15792
+ "title": "Checkout",
15793
+ "style": "primary",
15794
+ "fullWidth": true,
15795
+ "disabledPath": "$service:himiStoreCart.writeBusy",
15796
+ "action": {
15797
+ "actionId": "tier5.himiStoreCart.checkout"
15798
+ }
15720
15799
  }
15721
15800
  }
15722
15801
  }
15723
15802
  ]
15724
15803
  }
15725
- }
15726
- },
15727
- {
15728
- "id": "himi_cart.checkout",
15729
- "body": {
15730
- "package": "himalaya",
15731
- "type": "Button",
15732
- "props": {
15733
- "title": "Checkout",
15734
- "style": "primary",
15735
- "fullWidth": true,
15736
- "disabledPath": "$service:himiStoreCart.writeBusy",
15737
- "action": {
15738
- "actionId": "tier5.himiStoreCart.checkout"
15739
- }
15804
+ },
15805
+ "modifiers": {
15806
+ "background": {
15807
+ "token": "surfacePrimary"
15808
+ },
15809
+ "padding": {
15810
+ "leading": 20,
15811
+ "trailing": 20,
15812
+ "top": 12,
15813
+ "bottom": 12
15740
15814
  }
15741
15815
  }
15742
15816
  }
@@ -15744,21 +15818,6 @@ const SCREENS = runtimeSetting({
15744
15818
  }
15745
15819
  },
15746
15820
  "modifiers": {
15747
- "background": {
15748
- "token": "surfacePrimary"
15749
- },
15750
- "border": {
15751
- "width": 1,
15752
- "color": {
15753
- "token": "border"
15754
- }
15755
- },
15756
- "padding": {
15757
- "leading": 20,
15758
- "trailing": 20,
15759
- "top": 12,
15760
- "bottom": 12
15761
- },
15762
15821
  "hiddenPath": "$service:himiStoreCart.noItems"
15763
15822
  }
15764
15823
  }