@wix/himalaya-cli 0.1580.0 → 0.1582.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 (43) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/app-config.d.ts +18 -3
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/dev-server/src/builder.d.ts +3 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/network/src/index.d.ts +39 -0
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/sdk-types/src/capabilities.generated.d.ts +2 -1
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/webview-page/src/capabilities.generated.d.ts +2 -0
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +1 -1
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +12 -0
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +6 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/audio-record.mjs +1 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calendar.mjs +1 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calls.mjs +1 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/contacts.mjs +1 -0
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -0
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/location.mjs +1 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/motion.mjs +1 -0
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/network.mjs +45 -0
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/photos.mjs +1 -0
  18. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdk-types.mjs +1 -0
  19. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +1 -0
  20. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/tasks.mjs +1 -0
  21. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
  22. package/dist/cli.mjs +16481 -16739
  23. package/dist/preview-assets.generated.bin +0 -0
  24. package/guides/app-config.md +1 -1
  25. package/guides/component-reference.json +5 -3
  26. package/guides/component-reference.md +10 -2
  27. package/guides/designing-himi-screens.md +24 -0
  28. package/guides/importable-sdks.md +1 -0
  29. package/guides/sdk-reference.json +38 -1
  30. package/guides/tier-5-add-a-screen.md +32 -0
  31. package/guides/web-page-sdk-reference.md +1 -0
  32. package/package.json +2 -2
  33. package/templates/beauty-salon/dev/index.ts +197 -304
  34. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +44 -13
  35. package/templates/branded-lite/dev/index.ts +197 -304
  36. package/templates/branded-lite/l10n/en.json +2 -2
  37. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +49 -17
  38. package/templates/gym-fitness/dev/index.ts +197 -304
  39. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +44 -13
  40. package/templates/portfolio-creative/dev/index.ts +197 -304
  41. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +44 -13
  42. package/templates/retail-store/dev/index.ts +197 -304
  43. package/templates/retail-store/tier5-src/himi-store-product/index.ts +49 -17
@@ -8185,19 +8185,6 @@ const SCREENS = runtimeSetting({
8185
8185
  }
8186
8186
  }
8187
8187
  },
8188
- {
8189
- "id": "himi_shop.subtitle",
8190
- "body": {
8191
- "package": "himalaya",
8192
- "type": "Text",
8193
- "props": {
8194
- "text": "Grab training gear and studio merch.",
8195
- "style": "body",
8196
- "color": "textSecondary",
8197
- "collapseWhenEmpty": true
8198
- }
8199
- }
8200
- },
8201
8188
  {
8202
8189
  "id": "himi_shop.search",
8203
8190
  "body": {
@@ -8363,46 +8350,6 @@ const SCREENS = runtimeSetting({
8363
8350
  "bottom": 10
8364
8351
  }
8365
8352
  }
8366
- },
8367
- {
8368
- "id": "himi_shop.refresh",
8369
- "body": {
8370
- "package": "himalaya",
8371
- "type": "HStack",
8372
- "props": {
8373
- "spacing": 4,
8374
- "children": [
8375
- {
8376
- "id": "",
8377
- "body": {
8378
- "package": "himalaya",
8379
- "type": "Icon",
8380
- "props": {
8381
- "name": "refresh",
8382
- "size": 16,
8383
- "tint": "textPrimary"
8384
- }
8385
- },
8386
- "modifiers": {
8387
- "accessibilityRole": "decorative"
8388
- }
8389
- }
8390
- ]
8391
- }
8392
- },
8393
- "modifiers": {
8394
- "onTap": {
8395
- "actionId": "tier5.himiBrandedShop.refresh"
8396
- },
8397
- "accessibilityLabel": "Refresh",
8398
- "accessibilityRole": "button",
8399
- "padding": {
8400
- "leading": 0,
8401
- "trailing": 0,
8402
- "top": 10,
8403
- "bottom": 10
8404
- }
8405
- }
8406
8353
  }
8407
8354
  ]
8408
8355
  }
@@ -9061,7 +9008,17 @@ const SCREENS = runtimeSetting({
9061
9008
  "fillMaxWidth": true
9062
9009
  }
9063
9010
  }
9064
- ]
9011
+ ],
9012
+ "onPullToRefresh": {
9013
+ "actionId": "tier5.himiBrandedShop.refresh"
9014
+ },
9015
+ "pagination": {
9016
+ "cursor": "$service:himiBrandedShop.nextCursor",
9017
+ "onLoadMore": {
9018
+ "actionId": "tier5.himiBrandedShop.loadMore"
9019
+ },
9020
+ "pageSize": 24
9021
+ }
9065
9022
  }
9066
9023
  },
9067
9024
  "modifiers": {
@@ -9494,29 +9451,21 @@ const SCREENS = runtimeSetting({
9494
9451
  "fillMaxWidth": true
9495
9452
  }
9496
9453
  }
9497
- ]
9498
- }
9499
- },
9500
- "modifiers": {
9501
- "hiddenPath": "$service:himiBrandedShop.hideCompact"
9502
- }
9503
- },
9504
- {
9505
- "id": "himi_shop.more",
9506
- "body": {
9507
- "package": "himalaya",
9508
- "type": "Button",
9509
- "props": {
9510
- "title": "Show more products",
9511
- "style": "secondary",
9512
- "fullWidth": true,
9513
- "action": {
9514
- "actionId": "tier5.himiBrandedShop.showMore"
9454
+ ],
9455
+ "onPullToRefresh": {
9456
+ "actionId": "tier5.himiBrandedShop.refresh"
9457
+ },
9458
+ "pagination": {
9459
+ "cursor": "$service:himiBrandedShop.nextCursor",
9460
+ "onLoadMore": {
9461
+ "actionId": "tier5.himiBrandedShop.loadMore"
9462
+ },
9463
+ "pageSize": 24
9515
9464
  }
9516
9465
  }
9517
9466
  },
9518
9467
  "modifiers": {
9519
- "hiddenPath": "$service:himiBrandedShop.noMore"
9468
+ "hiddenPath": "$service:himiBrandedShop.hideCompact"
9520
9469
  }
9521
9470
  }
9522
9471
  ]
@@ -12494,46 +12443,6 @@ const SCREENS = runtimeSetting({
12494
12443
  "bottom": 10
12495
12444
  }
12496
12445
  }
12497
- },
12498
- {
12499
- "id": "himi_collection.refresh",
12500
- "body": {
12501
- "package": "himalaya",
12502
- "type": "HStack",
12503
- "props": {
12504
- "spacing": 4,
12505
- "children": [
12506
- {
12507
- "id": "",
12508
- "body": {
12509
- "package": "himalaya",
12510
- "type": "Icon",
12511
- "props": {
12512
- "name": "refresh",
12513
- "size": 16,
12514
- "tint": "textPrimary"
12515
- }
12516
- },
12517
- "modifiers": {
12518
- "accessibilityRole": "decorative"
12519
- }
12520
- }
12521
- ]
12522
- }
12523
- },
12524
- "modifiers": {
12525
- "onTap": {
12526
- "actionId": "tier5.himiBrandedCategory.load"
12527
- },
12528
- "accessibilityLabel": "Refresh",
12529
- "accessibilityRole": "button",
12530
- "padding": {
12531
- "leading": 0,
12532
- "trailing": 0,
12533
- "top": 10,
12534
- "bottom": 10
12535
- }
12536
- }
12537
12446
  }
12538
12447
  ]
12539
12448
  }
@@ -13111,7 +13020,17 @@ const SCREENS = runtimeSetting({
13111
13020
  "fillMaxWidth": true
13112
13021
  }
13113
13022
  }
13114
- ]
13023
+ ],
13024
+ "onPullToRefresh": {
13025
+ "actionId": "tier5.himiBrandedCategory.load"
13026
+ },
13027
+ "pagination": {
13028
+ "cursor": "$service:himiBrandedCategory.nextCursor",
13029
+ "onLoadMore": {
13030
+ "actionId": "tier5.himiBrandedCategory.loadMore"
13031
+ },
13032
+ "pageSize": 24
13033
+ }
13115
13034
  }
13116
13035
  },
13117
13036
  "modifiers": {
@@ -13557,29 +13476,21 @@ const SCREENS = runtimeSetting({
13557
13476
  "fillMaxWidth": true
13558
13477
  }
13559
13478
  }
13560
- ]
13561
- }
13562
- },
13563
- "modifiers": {
13564
- "hiddenPath": "$service:himiBrandedCategory.hideCompact"
13565
- }
13566
- },
13567
- {
13568
- "id": "himi_collection.more",
13569
- "body": {
13570
- "package": "himalaya",
13571
- "type": "Button",
13572
- "props": {
13573
- "title": "Show more products",
13574
- "style": "secondary",
13575
- "fullWidth": true,
13576
- "action": {
13577
- "actionId": "tier5.himiBrandedCategory.showMore"
13479
+ ],
13480
+ "onPullToRefresh": {
13481
+ "actionId": "tier5.himiBrandedCategory.load"
13482
+ },
13483
+ "pagination": {
13484
+ "cursor": "$service:himiBrandedCategory.nextCursor",
13485
+ "onLoadMore": {
13486
+ "actionId": "tier5.himiBrandedCategory.loadMore"
13487
+ },
13488
+ "pageSize": 24
13578
13489
  }
13579
13490
  }
13580
13491
  },
13581
13492
  "modifiers": {
13582
- "hiddenPath": "$service:himiBrandedCategory.noMore"
13493
+ "hiddenPath": "$service:himiBrandedCategory.hideCompact"
13583
13494
  }
13584
13495
  }
13585
13496
  ]
@@ -37917,7 +37828,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37917
37828
  "itemsPath": "$service:himiStoreProduct.gallery",
37918
37829
  "items": [
37919
37830
  {
37920
- "id": "",
37831
+ "id": "himi_product.gallery.$item.id",
37921
37832
  "body": {
37922
37833
  "package": "himalaya",
37923
37834
  "type": "Image",
@@ -37926,6 +37837,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37926
37837
  "fillWidth": true,
37927
37838
  "height": 510,
37928
37839
  "contentMode": "fill",
37840
+ "shape": "rect",
37929
37841
  "contentDescription": "$service:himiStoreProduct.name"
37930
37842
  }
37931
37843
  },
@@ -37933,10 +37845,19 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37933
37845
  "fillMaxWidth": true
37934
37846
  }
37935
37847
  }
37936
- ]
37848
+ ],
37849
+ "paged": true,
37850
+ "currentIndexPath": "$service:himiStoreProduct.galleryIndex",
37851
+ "onChange": {
37852
+ "actionId": "tier5.himiStoreProduct.setGalleryIndex"
37853
+ },
37854
+ "liveWindow": 1
37937
37855
  }
37938
37856
  },
37939
37857
  "modifiers": {
37858
+ "height": 534,
37859
+ "fillMaxWidth": true,
37860
+ "accessibilityLabel": "$service:himiStoreProduct.galleryLabel",
37940
37861
  "hiddenPath": "$service:himiStoreProduct.noGallery"
37941
37862
  }
37942
37863
  },
@@ -37950,6 +37871,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
37950
37871
  "fillWidth": true,
37951
37872
  "height": 510,
37952
37873
  "contentMode": "fill",
37874
+ "shape": "rect",
37953
37875
  "contentDescription": "$service:himiStoreProduct.name"
37954
37876
  }
37955
37877
  },
@@ -38197,21 +38119,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
38197
38119
  "id": "",
38198
38120
  "body": {
38199
38121
  "package": "himalaya",
38200
- "type": "Text",
38122
+ "type": "FieldError",
38201
38123
  "props": {
38202
- "text": "$service:himiStoreProduct.opt1Error",
38203
- "style": "footnote",
38204
- "color": "danger"
38124
+ "text": "",
38125
+ "textPath": "$service:himiStoreProduct.opt1Error"
38205
38126
  }
38206
- },
38207
- "modifiers": {
38208
- "hiddenPath": "$service:himiStoreProduct.noOpt1Error"
38209
38127
  }
38210
38128
  }
38211
38129
  ]
38212
38130
  }
38213
38131
  },
38214
38132
  "modifiers": {
38133
+ "scrollIntoViewPath": "$service:himiStoreProduct.opt1ScrollRequest",
38215
38134
  "hiddenPath": "$service:himiStoreProduct.noOpt1"
38216
38135
  }
38217
38136
  },
@@ -38304,21 +38223,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
38304
38223
  "id": "",
38305
38224
  "body": {
38306
38225
  "package": "himalaya",
38307
- "type": "Text",
38226
+ "type": "FieldError",
38308
38227
  "props": {
38309
- "text": "$service:himiStoreProduct.opt2Error",
38310
- "style": "footnote",
38311
- "color": "danger"
38228
+ "text": "",
38229
+ "textPath": "$service:himiStoreProduct.opt2Error"
38312
38230
  }
38313
- },
38314
- "modifiers": {
38315
- "hiddenPath": "$service:himiStoreProduct.noOpt2Error"
38316
38231
  }
38317
38232
  }
38318
38233
  ]
38319
38234
  }
38320
38235
  },
38321
38236
  "modifiers": {
38237
+ "scrollIntoViewPath": "$service:himiStoreProduct.opt2ScrollRequest",
38322
38238
  "hiddenPath": "$service:himiStoreProduct.noOpt2"
38323
38239
  }
38324
38240
  },
@@ -38411,21 +38327,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
38411
38327
  "id": "",
38412
38328
  "body": {
38413
38329
  "package": "himalaya",
38414
- "type": "Text",
38330
+ "type": "FieldError",
38415
38331
  "props": {
38416
- "text": "$service:himiStoreProduct.opt3Error",
38417
- "style": "footnote",
38418
- "color": "danger"
38332
+ "text": "",
38333
+ "textPath": "$service:himiStoreProduct.opt3Error"
38419
38334
  }
38420
- },
38421
- "modifiers": {
38422
- "hiddenPath": "$service:himiStoreProduct.noOpt3Error"
38423
38335
  }
38424
38336
  }
38425
38337
  ]
38426
38338
  }
38427
38339
  },
38428
38340
  "modifiers": {
38341
+ "scrollIntoViewPath": "$service:himiStoreProduct.opt3ScrollRequest",
38429
38342
  "hiddenPath": "$service:himiStoreProduct.noOpt3"
38430
38343
  }
38431
38344
  },
@@ -39197,41 +39110,13 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
39197
39110
  "id": "__HIMI_ID__"
39198
39111
  },
39199
39112
  "stickyFooter": {
39200
- "id": "himi_product.stickyFooter",
39113
+ "id": "",
39201
39114
  "body": {
39202
39115
  "package": "himalaya",
39203
39116
  "type": "VStack",
39204
39117
  "props": {
39205
- "spacing": 8,
39118
+ "spacing": 0,
39206
39119
  "children": [
39207
- {
39208
- "id": "himi_product.save_hint",
39209
- "body": {
39210
- "package": "himalaya",
39211
- "type": "Banner",
39212
- "props": {
39213
- "title": "$service:himiStoreProduct.saveHint",
39214
- "severity": "warning"
39215
- }
39216
- },
39217
- "modifiers": {
39218
- "hiddenPath": "$service:himiStoreProduct.noSaveHint"
39219
- }
39220
- },
39221
- {
39222
- "id": "himi_product.cart_hint",
39223
- "body": {
39224
- "package": "himalaya",
39225
- "type": "Banner",
39226
- "props": {
39227
- "title": "$service:himiStoreProduct.cartHint",
39228
- "severity": "warning"
39229
- }
39230
- },
39231
- "modifiers": {
39232
- "hiddenPath": "$service:himiStoreProduct.noCartHint"
39233
- }
39234
- },
39235
39120
  {
39236
39121
  "id": "",
39237
39122
  "body": {
@@ -39241,163 +39126,179 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
39241
39126
  }
39242
39127
  },
39243
39128
  {
39244
- "id": "",
39129
+ "id": "himi_product.stickyFooter",
39245
39130
  "body": {
39246
39131
  "package": "himalaya",
39247
- "type": "HStack",
39132
+ "type": "VStack",
39248
39133
  "props": {
39249
- "spacing": 12,
39134
+ "spacing": 8,
39250
39135
  "children": [
39251
39136
  {
39252
- "id": "himi_product.save",
39137
+ "id": "himi_product.save_hint",
39253
39138
  "body": {
39254
39139
  "package": "himalaya",
39255
- "type": "ZStack",
39140
+ "type": "Banner",
39256
39141
  "props": {
39257
- "alignment": "center",
39142
+ "title": "$service:himiStoreProduct.saveHint",
39143
+ "severity": "warning"
39144
+ }
39145
+ },
39146
+ "modifiers": {
39147
+ "hiddenPath": "$service:himiStoreProduct.noSaveHint"
39148
+ }
39149
+ },
39150
+ {
39151
+ "id": "himi_product.cart_hint",
39152
+ "body": {
39153
+ "package": "himalaya",
39154
+ "type": "Banner",
39155
+ "props": {
39156
+ "title": "$service:himiStoreProduct.cartHint",
39157
+ "severity": "warning"
39158
+ }
39159
+ },
39160
+ "modifiers": {
39161
+ "hiddenPath": "$service:himiStoreProduct.noCartHint"
39162
+ }
39163
+ },
39164
+ {
39165
+ "id": "",
39166
+ "body": {
39167
+ "package": "himalaya",
39168
+ "type": "HStack",
39169
+ "props": {
39170
+ "spacing": 12,
39258
39171
  "children": [
39259
39172
  {
39260
- "id": "",
39173
+ "id": "himi_product.save",
39261
39174
  "body": {
39262
39175
  "package": "himalaya",
39263
- "type": "Icon",
39176
+ "type": "ZStack",
39264
39177
  "props": {
39265
- "name": "$service:himiStoreProduct.saveIcon",
39266
- "size": 22,
39267
- "tint": "textPrimary"
39178
+ "alignment": "center",
39179
+ "children": [
39180
+ {
39181
+ "id": "",
39182
+ "body": {
39183
+ "package": "himalaya",
39184
+ "type": "Icon",
39185
+ "props": {
39186
+ "name": "$service:himiStoreProduct.saveIcon",
39187
+ "size": 22,
39188
+ "tint": "textPrimary"
39189
+ }
39190
+ },
39191
+ "modifiers": {
39192
+ "accessibilityRole": "decorative"
39193
+ }
39194
+ }
39195
+ ]
39268
39196
  }
39269
39197
  },
39270
39198
  "modifiers": {
39271
- "accessibilityRole": "decorative"
39199
+ "width": 48,
39200
+ "height": 48,
39201
+ "cornerRadius": 24,
39202
+ "border": {
39203
+ "width": 1,
39204
+ "color": {
39205
+ "token": "border"
39206
+ }
39207
+ },
39208
+ "onTap": {
39209
+ "actionId": "tier5.himiStoreProduct.toggleSave"
39210
+ },
39211
+ "accessibilityRole": "button",
39212
+ "accessibilityLabel": "$service:himiStoreProduct.saveLabel",
39213
+ "haptic": "light"
39214
+ }
39215
+ },
39216
+ {
39217
+ "id": "himi_product.add_to_cart",
39218
+ "body": {
39219
+ "package": "himalaya",
39220
+ "type": "Button",
39221
+ "props": {
39222
+ "title": "$service:himiStoreProduct.addLabel",
39223
+ "style": "primary",
39224
+ "fullWidth": true,
39225
+ "action": {
39226
+ "actionId": "tier5.himiStoreProduct.addToCart"
39227
+ },
39228
+ "disabledPath": "$service:himiStoreProduct.addDisabled",
39229
+ "loadingPath": "$service:himiStoreProduct.adding"
39230
+ }
39231
+ },
39232
+ "modifiers": {
39233
+ "height": 48,
39234
+ "cornerRadius": 8,
39235
+ "hiddenPath": "$service:himiStoreProduct.cartHidden",
39236
+ "weight": 1
39272
39237
  }
39273
39238
  }
39274
39239
  ]
39275
39240
  }
39276
- },
39277
- "modifiers": {
39278
- "width": 48,
39279
- "height": 48,
39280
- "cornerRadius": 24,
39281
- "border": {
39282
- "width": 1,
39283
- "color": {
39284
- "token": "border"
39285
- }
39286
- },
39287
- "onTap": {
39288
- "actionId": "tier5.himiStoreProduct.toggleSave"
39289
- },
39290
- "accessibilityRole": "button",
39291
- "accessibilityLabel": "$service:himiStoreProduct.saveLabel",
39292
- "haptic": "light"
39293
39241
  }
39294
39242
  },
39295
39243
  {
39296
- "id": "himi_product.add_to_cart",
39244
+ "id": "himi_product.buy",
39297
39245
  "body": {
39298
39246
  "package": "himalaya",
39299
39247
  "type": "Button",
39300
39248
  "props": {
39301
- "title": "Add to cart",
39249
+ "title": "$service:himiStoreProduct.buyLabel",
39302
39250
  "style": "primary",
39303
39251
  "fullWidth": true,
39252
+ "disabledPath": "$service:himiStoreProduct.buyDisabled",
39304
39253
  "action": {
39305
- "actionId": "tier5.himiStoreProduct.addToCart"
39306
- },
39307
- "disabledPath": "$service:himiStoreProduct.addDisabled"
39254
+ "actionId": "tier5.himiStoreProduct.buy"
39255
+ }
39308
39256
  }
39309
39257
  },
39310
39258
  "modifiers": {
39311
- "cornerRadius": 8,
39312
- "pressFeedback": "scale",
39313
- "haptic": "medium",
39314
- "height": 48,
39315
- "hiddenPath": "$service:himiStoreProduct.cartHidden",
39316
- "weight": 1
39259
+ "hiddenPath": "$service:himiStoreProduct.buyHidden"
39317
39260
  }
39318
39261
  },
39319
39262
  {
39320
- "id": "himi_product.adding",
39263
+ "id": "himi_product.buy_note",
39321
39264
  "body": {
39322
39265
  "package": "himalaya",
39323
- "type": "ZStack",
39266
+ "type": "Text",
39324
39267
  "props": {
39325
- "alignment": "center",
39326
- "children": [
39327
- {
39328
- "id": "",
39329
- "body": {
39330
- "package": "himalaya",
39331
- "type": "ActivityIndicator",
39332
- "props": {
39333
- "indeterminate": true,
39334
- "size": 18,
39335
- "tint": "textOnAccent"
39336
- }
39337
- }
39338
- }
39339
- ]
39268
+ "text": "$service:himiStoreProduct.buyNote",
39269
+ "style": "footnote",
39270
+ "color": "textSecondary",
39271
+ "collapseWhenEmpty": true
39340
39272
  }
39341
39273
  },
39342
39274
  "modifiers": {
39343
- "weight": 1,
39344
- "height": 48,
39345
- "background": {
39346
- "token": "accentPrimary"
39347
- },
39348
- "cornerRadius": 8,
39349
- "accessibilityLabel": "Adding to cart…",
39350
- "hiddenPath": "$service:himiStoreProduct.notAdding"
39275
+ "hiddenPath": "$service:himiStoreProduct.buyHidden"
39276
+ }
39277
+ },
39278
+ {
39279
+ "id": "himi_product.purchased",
39280
+ "body": {
39281
+ "package": "himalaya",
39282
+ "type": "Text",
39283
+ "props": {
39284
+ "text": "$service:himiStoreProduct.purchasedNote",
39285
+ "style": "footnote",
39286
+ "collapseWhenEmpty": true
39287
+ }
39351
39288
  }
39352
39289
  }
39353
39290
  ]
39354
39291
  }
39355
- }
39356
- },
39357
- {
39358
- "id": "himi_product.buy",
39359
- "body": {
39360
- "package": "himalaya",
39361
- "type": "Button",
39362
- "props": {
39363
- "title": "$service:himiStoreProduct.buyLabel",
39364
- "style": "primary",
39365
- "fullWidth": true,
39366
- "disabledPath": "$service:himiStoreProduct.buyDisabled",
39367
- "action": {
39368
- "actionId": "tier5.himiStoreProduct.buy"
39369
- }
39370
- }
39371
- },
39372
- "modifiers": {
39373
- "hiddenPath": "$service:himiStoreProduct.buyHidden"
39374
- }
39375
- },
39376
- {
39377
- "id": "himi_product.buy_note",
39378
- "body": {
39379
- "package": "himalaya",
39380
- "type": "Text",
39381
- "props": {
39382
- "text": "$service:himiStoreProduct.buyNote",
39383
- "style": "footnote",
39384
- "color": "textSecondary",
39385
- "collapseWhenEmpty": true
39386
- }
39387
39292
  },
39388
39293
  "modifiers": {
39389
- "hiddenPath": "$service:himiStoreProduct.buyHidden"
39390
- }
39391
- },
39392
- {
39393
- "id": "himi_product.purchased",
39394
- "body": {
39395
- "package": "himalaya",
39396
- "type": "Text",
39397
- "props": {
39398
- "text": "$service:himiStoreProduct.purchasedNote",
39399
- "style": "footnote",
39400
- "collapseWhenEmpty": true
39294
+ "background": {
39295
+ "token": "surfacePrimary"
39296
+ },
39297
+ "padding": {
39298
+ "leading": 16,
39299
+ "trailing": 16,
39300
+ "top": 8,
39301
+ "bottom": 8
39401
39302
  }
39402
39303
  }
39403
39304
  }
@@ -39405,19 +39306,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
39405
39306
  }
39406
39307
  },
39407
39308
  "modifiers": {
39408
- "background": {
39409
- "token": "surfacePrimary"
39410
- },
39411
- "padding": {
39412
- "leading": 16,
39413
- "trailing": 16,
39414
- "top": 8,
39415
- "bottom": 8
39416
- },
39417
39309
  "hiddenPath": "$service:himiStoreProduct.hideBar"
39418
39310
  }
39419
39311
  },
39420
39312
  "topBar": {
39313
+ "style": "transparent",
39421
39314
  "actions": [
39422
39315
  {
39423
39316
  "id": "share",