@wix/himalaya-cli 0.1652.0 → 0.1654.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/l10n.d.ts +3 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{6ba3f2eb2ac29f4f9eeebd1294a8003820cd260274c5400149d76833b3171555.bin → 3912fa5f6ddb60106c630fb5e48edbf12ebfd57c616d8b7aee0d32088cd3bbdf.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +2270 -1858
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/getting-started.md +3 -3
- package/guides/himi-json-output.md +2 -2
- package/guides/himi-skill.md +3 -3
- package/guides/one-app-to-himi-app.md +13 -4
- package/guides/skill.md +1 -1
- package/guides/templates.md +5 -3
- package/package.json +2 -2
- package/templates/beauty-salon/dev/index.ts +263 -204
- package/templates/beauty-salon/l10n/en.json +2653 -0
- package/templates/beauty-salon/l10n/es.json +33 -0
- package/templates/beauty-salon/l10n/he.json +3756 -0
- package/templates/beauty-salon/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/beauty-salon/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/beauty-salon/tier5-src/_shared/himi-bookings.ts +1 -1
- package/templates/beauty-salon/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/beauty-salon/tier5-src/himi-booking-bookings/index.ts +2 -4
- package/templates/beauty-salon/tier5-src/himi-booking-service/index.ts +2 -2
- package/templates/beauty-salon/tier5-src/himi-booking-time/index.ts +1 -1
- package/templates/beauty-salon-owner/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/beauty-salon-owner/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/branded-lite/dev/index.ts +263 -204
- package/templates/branded-lite/l10n/en.json +5024 -478
- package/templates/branded-lite/l10n/es.json +33 -0
- package/templates/branded-lite/l10n/he.json +6652 -0
- package/templates/branded-lite/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/branded-lite/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/branded-lite/tier5-src/_shared/himi-bookings.ts +1 -1
- package/templates/branded-lite/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/branded-lite/tier5-src/himi-booking-bookings/index.ts +2 -4
- package/templates/branded-lite/tier5-src/himi-booking-service/index.ts +2 -2
- package/templates/branded-lite/tier5-src/himi-booking-time/index.ts +1 -1
- package/templates/brandy/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/community-club/l10n/en.json +1788 -0
- package/templates/community-club/l10n/es.json +10 -0
- package/templates/community-club/l10n/he.json +2397 -0
- package/templates/community-club/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/community-club/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/community-club/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/community-club-owner/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/community-club-owner/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/conference/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/conference/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/conference/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/events-meetups/l10n/en.json +1739 -0
- package/templates/events-meetups/l10n/es.json +10 -0
- package/templates/events-meetups/l10n/he.json +2326 -0
- package/templates/events-meetups/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/events-meetups/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/events-meetups/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/events-meetups-owner/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/events-meetups-owner/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/gym-fitness/dev/index.ts +263 -204
- package/templates/gym-fitness/l10n/en.json +2964 -0
- package/templates/gym-fitness/l10n/es.json +33 -0
- package/templates/gym-fitness/l10n/he.json +4170 -0
- package/templates/gym-fitness/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/gym-fitness/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/gym-fitness/tier5-src/_shared/himi-bookings.ts +1 -1
- package/templates/gym-fitness/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/gym-fitness/tier5-src/himi-booking-bookings/index.ts +2 -4
- package/templates/gym-fitness/tier5-src/himi-booking-service/index.ts +2 -2
- package/templates/gym-fitness/tier5-src/himi-booking-time/index.ts +1 -1
- package/templates/gym-fitness-owner/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/gym-fitness-owner/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/himi-chat/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/nonprofit-cause/l10n/en.json +1926 -0
- package/templates/nonprofit-cause/l10n/es.json +10 -0
- package/templates/nonprofit-cause/l10n/he.json +2577 -0
- package/templates/nonprofit-cause/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/nonprofit-cause/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/nonprofit-cause/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/nonprofit-cause-owner/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/nonprofit-cause-owner/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/owner-lite/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/owner-lite/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/podcast-creator/l10n/en.json +1840 -0
- package/templates/podcast-creator/l10n/es.json +10 -0
- package/templates/podcast-creator/l10n/he.json +2444 -0
- package/templates/podcast-creator/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/podcast-creator/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/podcast-creator/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/podcast-creator-owner/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/podcast-creator-owner/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/portfolio-creative/dev/index.ts +263 -204
- package/templates/portfolio-creative/l10n/en.json +2426 -0
- package/templates/portfolio-creative/l10n/es.json +33 -0
- package/templates/portfolio-creative/l10n/he.json +3149 -0
- package/templates/portfolio-creative/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/portfolio-creative/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/portfolio-creative/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/portfolio-creative-owner/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/portfolio-creative-owner/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/restaurant/l10n/en.json +2204 -0
- package/templates/restaurant/l10n/es.json +10 -0
- package/templates/restaurant/l10n/he.json +2862 -0
- package/templates/restaurant/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/restaurant/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/restaurant/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/restaurant-owner/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/restaurant-owner/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/retail-store/dev/index.ts +263 -204
- package/templates/retail-store/l10n/en.json +2029 -0
- package/templates/retail-store/l10n/es.json +33 -0
- package/templates/retail-store/l10n/he.json +2660 -0
- package/templates/retail-store/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/retail-store/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/retail-store/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/retail-store-owner/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/retail-store-owner/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/salon-spa/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/salon-spa/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/salon-spa/tier5-src/_shared/himi-bookings.ts +1 -1
- package/templates/salon-spa/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/salon-spa/tier5-src/himi-booking-bookings/index.ts +2 -4
- package/templates/salon-spa/tier5-src/himi-booking-service/index.ts +2 -2
- package/templates/salon-spa/tier5-src/himi-booking-time/index.ts +1 -1
- package/templates/wholesale-store/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/wholesale-store/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/wholesale-store/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/yoga-studio/l10n/en.json +2213 -0
- package/templates/yoga-studio/l10n/es.json +10 -0
- package/templates/yoga-studio/l10n/he.json +3405 -0
- package/templates/yoga-studio/tier5-src/_shared/engine-intl.ts +18 -10
- package/templates/yoga-studio/tier5-src/_shared/himi-account.ts +5 -4
- package/templates/yoga-studio/tier5-src/_shared/himi-bookings.ts +1 -1
- package/templates/yoga-studio/tier5-src/_shared/himi-copy.ts +30 -3
- package/templates/yoga-studio/tier5-src/himi-booking-bookings/index.ts +2 -4
- package/templates/yoga-studio/tier5-src/himi-booking-service/index.ts +2 -2
- package/templates/yoga-studio/tier5-src/himi-booking-time/index.ts +1 -1
- package/templates/yoga-studio-owner/tier5-src/_shared/engine-intl.ts +18 -10
- 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": "
|
|
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":
|
|
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
|
-
"
|
|
17917
|
-
"
|
|
17918
|
-
|
|
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":
|
|
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": "
|
|
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":
|
|
18104
|
+
"spacing": 10,
|
|
18105
|
+
"alignment": "leading",
|
|
18081
18106
|
"children": [
|
|
18082
18107
|
{
|
|
18083
|
-
"id": "
|
|
18108
|
+
"id": "",
|
|
18084
18109
|
"body": {
|
|
18085
18110
|
"package": "himalaya",
|
|
18086
|
-
"type": "
|
|
18111
|
+
"type": "HStack",
|
|
18087
18112
|
"props": {
|
|
18088
|
-
"
|
|
18089
|
-
"
|
|
18090
|
-
|
|
18091
|
-
|
|
18092
|
-
|
|
18093
|
-
|
|
18094
|
-
|
|
18095
|
-
|
|
18096
|
-
|
|
18097
|
-
|
|
18098
|
-
|
|
18099
|
-
|
|
18100
|
-
|
|
18101
|
-
|
|
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.
|
|
18238
|
+
"id": "himi_cart.promo_error",
|
|
18122
18239
|
"body": {
|
|
18123
18240
|
"package": "himalaya",
|
|
18124
|
-
"type": "
|
|
18241
|
+
"type": "Text",
|
|
18125
18242
|
"props": {
|
|
18126
|
-
"
|
|
18127
|
-
"style": "
|
|
18128
|
-
"
|
|
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
|
-
"
|
|
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": "
|
|
18161
|
-
"style": "
|
|
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": "
|
|
18281
|
+
"id": "",
|
|
18176
18282
|
"body": {
|
|
18177
18283
|
"package": "himalaya",
|
|
18178
|
-
"type": "
|
|
18284
|
+
"type": "Text",
|
|
18179
18285
|
"props": {
|
|
18180
|
-
"
|
|
18181
|
-
"
|
|
18182
|
-
|
|
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.
|
|
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": "
|
|
18303
|
+
"type": "HStack",
|
|
18238
18304
|
"props": {
|
|
18239
|
-
"
|
|
18240
|
-
"
|
|
18241
|
-
|
|
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": "
|
|
18260
|
-
"style": "
|
|
18261
|
-
"color": "
|
|
18352
|
+
"text": "Taxes and shipping are calculated at checkout.",
|
|
18353
|
+
"style": "footnote",
|
|
18354
|
+
"color": "textSecondary"
|
|
18262
18355
|
}
|
|
18263
|
-
}
|
|
18264
|
-
|
|
18265
|
-
|
|
18266
|
-
|
|
18267
|
-
|
|
18268
|
-
|
|
18269
|
-
|
|
18270
|
-
|
|
18271
|
-
|
|
18272
|
-
|
|
18273
|
-
|
|
18274
|
-
|
|
18275
|
-
|
|
18276
|
-
|
|
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": "
|
|
18296
|
-
"props": {}
|
|
18297
|
-
}
|
|
18298
|
-
},
|
|
18299
|
-
{
|
|
18300
|
-
"id": "",
|
|
18301
|
-
"body": {
|
|
18302
|
-
"package": "himalaya",
|
|
18303
|
-
"type": "Text",
|
|
18377
|
+
"type": "Button",
|
|
18304
18378
|
"props": {
|
|
18305
|
-
"
|
|
18306
|
-
"style": "
|
|
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
|
-
|
|
18316
|
-
|
|
18317
|
-
"
|
|
18318
|
-
|
|
18319
|
-
|
|
18320
|
-
"
|
|
18321
|
-
"
|
|
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
|
}
|