@wix/himalaya-cli 0.1579.0 → 0.1581.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 (54) 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/motion/src/index.d.ts +51 -5
  4. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/network/src/index.d.ts +39 -0
  5. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/sdk-types/src/capabilities.generated.d.ts +2 -1
  6. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/webview-page/src/capabilities.generated.d.ts +2 -0
  7. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +1 -1
  8. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/schema.d.ts +12 -0
  9. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/validator.d.ts +6 -0
  10. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/media/src/index.d.ts +1 -0
  11. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/media/src/rendition.d.ts +42 -0
  12. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/audio-record.mjs +1 -0
  13. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calendar.mjs +1 -0
  14. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/calls.mjs +1 -0
  15. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/contacts.mjs +1 -0
  16. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +1 -0
  17. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/location.mjs +1 -0
  18. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/motion.mjs +23 -2
  19. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/network.mjs +45 -0
  20. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/photos.mjs +1 -0
  21. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdk-types.mjs +1 -0
  22. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/sdui.mjs +1 -0
  23. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/tasks.mjs +1 -0
  24. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-media.mjs +78 -0
  25. package/dist/authoring-runtime/node_modules/@wix/himalaya/package.json +4 -0
  26. package/dist/cli.mjs +9144 -7459
  27. package/dist/preview-assets.generated.bin +0 -0
  28. package/dist/quickjs-intl.js +462 -0
  29. package/dist/quickjs-web-globals.js +540 -0
  30. package/dist/quickjs-worker-entry.js +313 -0
  31. package/guides/app-config.md +1 -1
  32. package/guides/component-reference.json +5 -3
  33. package/guides/component-reference.md +10 -2
  34. package/guides/designing-himi-screens.md +24 -0
  35. package/guides/himi-json-output.md +30 -1
  36. package/guides/importable-sdks.md +1 -0
  37. package/guides/one-app-section-mappings.md +4 -5
  38. package/guides/one-app-to-himi-app.md +214 -6
  39. package/guides/one-app-viewer.md +2 -2
  40. package/guides/sdk-reference.json +74 -7
  41. package/guides/tier-5-add-a-screen.md +32 -0
  42. package/guides/web-page-sdk-reference.md +1 -0
  43. package/package.json +3 -2
  44. package/templates/beauty-salon/dev/index.ts +197 -304
  45. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +44 -13
  46. package/templates/branded-lite/dev/index.ts +197 -304
  47. package/templates/branded-lite/l10n/en.json +2 -2
  48. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +49 -17
  49. package/templates/gym-fitness/dev/index.ts +197 -304
  50. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +44 -13
  51. package/templates/portfolio-creative/dev/index.ts +197 -304
  52. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +44 -13
  53. package/templates/retail-store/dev/index.ts +197 -304
  54. package/templates/retail-store/tier5-src/himi-store-product/index.ts +49 -17
@@ -6958,19 +6958,6 @@ const SCREENS = runtimeSetting({
6958
6958
  }
6959
6959
  }
6960
6960
  },
6961
- {
6962
- "id": "himi_shop.subtitle",
6963
- "body": {
6964
- "package": "himalaya",
6965
- "type": "Text",
6966
- "props": {
6967
- "text": "Find your next favorite.",
6968
- "style": "body",
6969
- "color": "textSecondary",
6970
- "collapseWhenEmpty": true
6971
- }
6972
- }
6973
- },
6974
6961
  {
6975
6962
  "id": "himi_shop.search",
6976
6963
  "body": {
@@ -7136,46 +7123,6 @@ const SCREENS = runtimeSetting({
7136
7123
  "bottom": 10
7137
7124
  }
7138
7125
  }
7139
- },
7140
- {
7141
- "id": "himi_shop.refresh",
7142
- "body": {
7143
- "package": "himalaya",
7144
- "type": "HStack",
7145
- "props": {
7146
- "spacing": 4,
7147
- "children": [
7148
- {
7149
- "id": "",
7150
- "body": {
7151
- "package": "himalaya",
7152
- "type": "Icon",
7153
- "props": {
7154
- "name": "refresh",
7155
- "size": 16,
7156
- "tint": "textPrimary"
7157
- }
7158
- },
7159
- "modifiers": {
7160
- "accessibilityRole": "decorative"
7161
- }
7162
- }
7163
- ]
7164
- }
7165
- },
7166
- "modifiers": {
7167
- "onTap": {
7168
- "actionId": "tier5.himiBrandedShop.refresh"
7169
- },
7170
- "accessibilityLabel": "Refresh",
7171
- "accessibilityRole": "button",
7172
- "padding": {
7173
- "leading": 0,
7174
- "trailing": 0,
7175
- "top": 10,
7176
- "bottom": 10
7177
- }
7178
- }
7179
7126
  }
7180
7127
  ]
7181
7128
  }
@@ -7851,7 +7798,17 @@ const SCREENS = runtimeSetting({
7851
7798
  "fillMaxWidth": true
7852
7799
  }
7853
7800
  }
7854
- ]
7801
+ ],
7802
+ "onPullToRefresh": {
7803
+ "actionId": "tier5.himiBrandedShop.refresh"
7804
+ },
7805
+ "pagination": {
7806
+ "cursor": "$service:himiBrandedShop.nextCursor",
7807
+ "onLoadMore": {
7808
+ "actionId": "tier5.himiBrandedShop.loadMore"
7809
+ },
7810
+ "pageSize": 24
7811
+ }
7855
7812
  }
7856
7813
  },
7857
7814
  "modifiers": {
@@ -8284,29 +8241,21 @@ const SCREENS = runtimeSetting({
8284
8241
  "fillMaxWidth": true
8285
8242
  }
8286
8243
  }
8287
- ]
8288
- }
8289
- },
8290
- "modifiers": {
8291
- "hiddenPath": "$service:himiBrandedShop.hideCompact"
8292
- }
8293
- },
8294
- {
8295
- "id": "himi_shop.more",
8296
- "body": {
8297
- "package": "himalaya",
8298
- "type": "Button",
8299
- "props": {
8300
- "title": "Show more products",
8301
- "style": "secondary",
8302
- "fullWidth": true,
8303
- "action": {
8304
- "actionId": "tier5.himiBrandedShop.showMore"
8244
+ ],
8245
+ "onPullToRefresh": {
8246
+ "actionId": "tier5.himiBrandedShop.refresh"
8247
+ },
8248
+ "pagination": {
8249
+ "cursor": "$service:himiBrandedShop.nextCursor",
8250
+ "onLoadMore": {
8251
+ "actionId": "tier5.himiBrandedShop.loadMore"
8252
+ },
8253
+ "pageSize": 24
8305
8254
  }
8306
8255
  }
8307
8256
  },
8308
8257
  "modifiers": {
8309
- "hiddenPath": "$service:himiBrandedShop.noMore"
8258
+ "hiddenPath": "$service:himiBrandedShop.hideCompact"
8310
8259
  }
8311
8260
  }
8312
8261
  ]
@@ -11281,46 +11230,6 @@ const SCREENS = runtimeSetting({
11281
11230
  "bottom": 10
11282
11231
  }
11283
11232
  }
11284
- },
11285
- {
11286
- "id": "himi_collection.refresh",
11287
- "body": {
11288
- "package": "himalaya",
11289
- "type": "HStack",
11290
- "props": {
11291
- "spacing": 4,
11292
- "children": [
11293
- {
11294
- "id": "",
11295
- "body": {
11296
- "package": "himalaya",
11297
- "type": "Icon",
11298
- "props": {
11299
- "name": "refresh",
11300
- "size": 16,
11301
- "tint": "textPrimary"
11302
- }
11303
- },
11304
- "modifiers": {
11305
- "accessibilityRole": "decorative"
11306
- }
11307
- }
11308
- ]
11309
- }
11310
- },
11311
- "modifiers": {
11312
- "onTap": {
11313
- "actionId": "tier5.himiBrandedCategory.load"
11314
- },
11315
- "accessibilityLabel": "Refresh",
11316
- "accessibilityRole": "button",
11317
- "padding": {
11318
- "leading": 0,
11319
- "trailing": 0,
11320
- "top": 10,
11321
- "bottom": 10
11322
- }
11323
- }
11324
11233
  }
11325
11234
  ]
11326
11235
  }
@@ -11898,7 +11807,17 @@ const SCREENS = runtimeSetting({
11898
11807
  "fillMaxWidth": true
11899
11808
  }
11900
11809
  }
11901
- ]
11810
+ ],
11811
+ "onPullToRefresh": {
11812
+ "actionId": "tier5.himiBrandedCategory.load"
11813
+ },
11814
+ "pagination": {
11815
+ "cursor": "$service:himiBrandedCategory.nextCursor",
11816
+ "onLoadMore": {
11817
+ "actionId": "tier5.himiBrandedCategory.loadMore"
11818
+ },
11819
+ "pageSize": 24
11820
+ }
11902
11821
  }
11903
11822
  },
11904
11823
  "modifiers": {
@@ -12344,29 +12263,21 @@ const SCREENS = runtimeSetting({
12344
12263
  "fillMaxWidth": true
12345
12264
  }
12346
12265
  }
12347
- ]
12348
- }
12349
- },
12350
- "modifiers": {
12351
- "hiddenPath": "$service:himiBrandedCategory.hideCompact"
12352
- }
12353
- },
12354
- {
12355
- "id": "himi_collection.more",
12356
- "body": {
12357
- "package": "himalaya",
12358
- "type": "Button",
12359
- "props": {
12360
- "title": "Show more products",
12361
- "style": "secondary",
12362
- "fullWidth": true,
12363
- "action": {
12364
- "actionId": "tier5.himiBrandedCategory.showMore"
12266
+ ],
12267
+ "onPullToRefresh": {
12268
+ "actionId": "tier5.himiBrandedCategory.load"
12269
+ },
12270
+ "pagination": {
12271
+ "cursor": "$service:himiBrandedCategory.nextCursor",
12272
+ "onLoadMore": {
12273
+ "actionId": "tier5.himiBrandedCategory.loadMore"
12274
+ },
12275
+ "pageSize": 24
12365
12276
  }
12366
12277
  }
12367
12278
  },
12368
12279
  "modifiers": {
12369
- "hiddenPath": "$service:himiBrandedCategory.noMore"
12280
+ "hiddenPath": "$service:himiBrandedCategory.hideCompact"
12370
12281
  }
12371
12282
  }
12372
12283
  ]
@@ -23175,7 +23086,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23175
23086
  "itemsPath": "$service:himiStoreProduct.gallery",
23176
23087
  "items": [
23177
23088
  {
23178
- "id": "",
23089
+ "id": "himi_product.gallery.$item.id",
23179
23090
  "body": {
23180
23091
  "package": "himalaya",
23181
23092
  "type": "Image",
@@ -23184,6 +23095,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23184
23095
  "fillWidth": true,
23185
23096
  "height": 510,
23186
23097
  "contentMode": "fill",
23098
+ "shape": "rect",
23187
23099
  "contentDescription": "$service:himiStoreProduct.name"
23188
23100
  }
23189
23101
  },
@@ -23191,10 +23103,19 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23191
23103
  "fillMaxWidth": true
23192
23104
  }
23193
23105
  }
23194
- ]
23106
+ ],
23107
+ "paged": true,
23108
+ "currentIndexPath": "$service:himiStoreProduct.galleryIndex",
23109
+ "onChange": {
23110
+ "actionId": "tier5.himiStoreProduct.setGalleryIndex"
23111
+ },
23112
+ "liveWindow": 1
23195
23113
  }
23196
23114
  },
23197
23115
  "modifiers": {
23116
+ "height": 534,
23117
+ "fillMaxWidth": true,
23118
+ "accessibilityLabel": "$service:himiStoreProduct.galleryLabel",
23198
23119
  "hiddenPath": "$service:himiStoreProduct.noGallery"
23199
23120
  }
23200
23121
  },
@@ -23208,6 +23129,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23208
23129
  "fillWidth": true,
23209
23130
  "height": 510,
23210
23131
  "contentMode": "fill",
23132
+ "shape": "rect",
23211
23133
  "contentDescription": "$service:himiStoreProduct.name"
23212
23134
  }
23213
23135
  },
@@ -23455,21 +23377,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23455
23377
  "id": "",
23456
23378
  "body": {
23457
23379
  "package": "himalaya",
23458
- "type": "Text",
23380
+ "type": "FieldError",
23459
23381
  "props": {
23460
- "text": "$service:himiStoreProduct.opt1Error",
23461
- "style": "footnote",
23462
- "color": "danger"
23382
+ "text": "",
23383
+ "textPath": "$service:himiStoreProduct.opt1Error"
23463
23384
  }
23464
- },
23465
- "modifiers": {
23466
- "hiddenPath": "$service:himiStoreProduct.noOpt1Error"
23467
23385
  }
23468
23386
  }
23469
23387
  ]
23470
23388
  }
23471
23389
  },
23472
23390
  "modifiers": {
23391
+ "scrollIntoViewPath": "$service:himiStoreProduct.opt1ScrollRequest",
23473
23392
  "hiddenPath": "$service:himiStoreProduct.noOpt1"
23474
23393
  }
23475
23394
  },
@@ -23562,21 +23481,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23562
23481
  "id": "",
23563
23482
  "body": {
23564
23483
  "package": "himalaya",
23565
- "type": "Text",
23484
+ "type": "FieldError",
23566
23485
  "props": {
23567
- "text": "$service:himiStoreProduct.opt2Error",
23568
- "style": "footnote",
23569
- "color": "danger"
23486
+ "text": "",
23487
+ "textPath": "$service:himiStoreProduct.opt2Error"
23570
23488
  }
23571
- },
23572
- "modifiers": {
23573
- "hiddenPath": "$service:himiStoreProduct.noOpt2Error"
23574
23489
  }
23575
23490
  }
23576
23491
  ]
23577
23492
  }
23578
23493
  },
23579
23494
  "modifiers": {
23495
+ "scrollIntoViewPath": "$service:himiStoreProduct.opt2ScrollRequest",
23580
23496
  "hiddenPath": "$service:himiStoreProduct.noOpt2"
23581
23497
  }
23582
23498
  },
@@ -23669,21 +23585,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
23669
23585
  "id": "",
23670
23586
  "body": {
23671
23587
  "package": "himalaya",
23672
- "type": "Text",
23588
+ "type": "FieldError",
23673
23589
  "props": {
23674
- "text": "$service:himiStoreProduct.opt3Error",
23675
- "style": "footnote",
23676
- "color": "danger"
23590
+ "text": "",
23591
+ "textPath": "$service:himiStoreProduct.opt3Error"
23677
23592
  }
23678
- },
23679
- "modifiers": {
23680
- "hiddenPath": "$service:himiStoreProduct.noOpt3Error"
23681
23593
  }
23682
23594
  }
23683
23595
  ]
23684
23596
  }
23685
23597
  },
23686
23598
  "modifiers": {
23599
+ "scrollIntoViewPath": "$service:himiStoreProduct.opt3ScrollRequest",
23687
23600
  "hiddenPath": "$service:himiStoreProduct.noOpt3"
23688
23601
  }
23689
23602
  },
@@ -24455,41 +24368,13 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
24455
24368
  "id": "__HIMI_ID__"
24456
24369
  },
24457
24370
  "stickyFooter": {
24458
- "id": "himi_product.stickyFooter",
24371
+ "id": "",
24459
24372
  "body": {
24460
24373
  "package": "himalaya",
24461
24374
  "type": "VStack",
24462
24375
  "props": {
24463
- "spacing": 8,
24376
+ "spacing": 0,
24464
24377
  "children": [
24465
- {
24466
- "id": "himi_product.save_hint",
24467
- "body": {
24468
- "package": "himalaya",
24469
- "type": "Banner",
24470
- "props": {
24471
- "title": "$service:himiStoreProduct.saveHint",
24472
- "severity": "warning"
24473
- }
24474
- },
24475
- "modifiers": {
24476
- "hiddenPath": "$service:himiStoreProduct.noSaveHint"
24477
- }
24478
- },
24479
- {
24480
- "id": "himi_product.cart_hint",
24481
- "body": {
24482
- "package": "himalaya",
24483
- "type": "Banner",
24484
- "props": {
24485
- "title": "$service:himiStoreProduct.cartHint",
24486
- "severity": "warning"
24487
- }
24488
- },
24489
- "modifiers": {
24490
- "hiddenPath": "$service:himiStoreProduct.noCartHint"
24491
- }
24492
- },
24493
24378
  {
24494
24379
  "id": "",
24495
24380
  "body": {
@@ -24499,163 +24384,179 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
24499
24384
  }
24500
24385
  },
24501
24386
  {
24502
- "id": "",
24387
+ "id": "himi_product.stickyFooter",
24503
24388
  "body": {
24504
24389
  "package": "himalaya",
24505
- "type": "HStack",
24390
+ "type": "VStack",
24506
24391
  "props": {
24507
- "spacing": 12,
24392
+ "spacing": 8,
24508
24393
  "children": [
24509
24394
  {
24510
- "id": "himi_product.save",
24395
+ "id": "himi_product.save_hint",
24511
24396
  "body": {
24512
24397
  "package": "himalaya",
24513
- "type": "ZStack",
24398
+ "type": "Banner",
24514
24399
  "props": {
24515
- "alignment": "center",
24400
+ "title": "$service:himiStoreProduct.saveHint",
24401
+ "severity": "warning"
24402
+ }
24403
+ },
24404
+ "modifiers": {
24405
+ "hiddenPath": "$service:himiStoreProduct.noSaveHint"
24406
+ }
24407
+ },
24408
+ {
24409
+ "id": "himi_product.cart_hint",
24410
+ "body": {
24411
+ "package": "himalaya",
24412
+ "type": "Banner",
24413
+ "props": {
24414
+ "title": "$service:himiStoreProduct.cartHint",
24415
+ "severity": "warning"
24416
+ }
24417
+ },
24418
+ "modifiers": {
24419
+ "hiddenPath": "$service:himiStoreProduct.noCartHint"
24420
+ }
24421
+ },
24422
+ {
24423
+ "id": "",
24424
+ "body": {
24425
+ "package": "himalaya",
24426
+ "type": "HStack",
24427
+ "props": {
24428
+ "spacing": 12,
24516
24429
  "children": [
24517
24430
  {
24518
- "id": "",
24431
+ "id": "himi_product.save",
24519
24432
  "body": {
24520
24433
  "package": "himalaya",
24521
- "type": "Icon",
24434
+ "type": "ZStack",
24522
24435
  "props": {
24523
- "name": "$service:himiStoreProduct.saveIcon",
24524
- "size": 22,
24525
- "tint": "textPrimary"
24436
+ "alignment": "center",
24437
+ "children": [
24438
+ {
24439
+ "id": "",
24440
+ "body": {
24441
+ "package": "himalaya",
24442
+ "type": "Icon",
24443
+ "props": {
24444
+ "name": "$service:himiStoreProduct.saveIcon",
24445
+ "size": 22,
24446
+ "tint": "textPrimary"
24447
+ }
24448
+ },
24449
+ "modifiers": {
24450
+ "accessibilityRole": "decorative"
24451
+ }
24452
+ }
24453
+ ]
24526
24454
  }
24527
24455
  },
24528
24456
  "modifiers": {
24529
- "accessibilityRole": "decorative"
24457
+ "width": 48,
24458
+ "height": 48,
24459
+ "cornerRadius": 24,
24460
+ "border": {
24461
+ "width": 1,
24462
+ "color": {
24463
+ "token": "border"
24464
+ }
24465
+ },
24466
+ "onTap": {
24467
+ "actionId": "tier5.himiStoreProduct.toggleSave"
24468
+ },
24469
+ "accessibilityRole": "button",
24470
+ "accessibilityLabel": "$service:himiStoreProduct.saveLabel",
24471
+ "haptic": "light"
24472
+ }
24473
+ },
24474
+ {
24475
+ "id": "himi_product.add_to_cart",
24476
+ "body": {
24477
+ "package": "himalaya",
24478
+ "type": "Button",
24479
+ "props": {
24480
+ "title": "$service:himiStoreProduct.addLabel",
24481
+ "style": "primary",
24482
+ "fullWidth": true,
24483
+ "action": {
24484
+ "actionId": "tier5.himiStoreProduct.addToCart"
24485
+ },
24486
+ "disabledPath": "$service:himiStoreProduct.addDisabled",
24487
+ "loadingPath": "$service:himiStoreProduct.adding"
24488
+ }
24489
+ },
24490
+ "modifiers": {
24491
+ "height": 48,
24492
+ "cornerRadius": 8,
24493
+ "hiddenPath": "$service:himiStoreProduct.cartHidden",
24494
+ "weight": 1
24530
24495
  }
24531
24496
  }
24532
24497
  ]
24533
24498
  }
24534
- },
24535
- "modifiers": {
24536
- "width": 48,
24537
- "height": 48,
24538
- "cornerRadius": 24,
24539
- "border": {
24540
- "width": 1,
24541
- "color": {
24542
- "token": "border"
24543
- }
24544
- },
24545
- "onTap": {
24546
- "actionId": "tier5.himiStoreProduct.toggleSave"
24547
- },
24548
- "accessibilityRole": "button",
24549
- "accessibilityLabel": "$service:himiStoreProduct.saveLabel",
24550
- "haptic": "light"
24551
24499
  }
24552
24500
  },
24553
24501
  {
24554
- "id": "himi_product.add_to_cart",
24502
+ "id": "himi_product.buy",
24555
24503
  "body": {
24556
24504
  "package": "himalaya",
24557
24505
  "type": "Button",
24558
24506
  "props": {
24559
- "title": "Add to cart",
24507
+ "title": "$service:himiStoreProduct.buyLabel",
24560
24508
  "style": "primary",
24561
24509
  "fullWidth": true,
24510
+ "disabledPath": "$service:himiStoreProduct.buyDisabled",
24562
24511
  "action": {
24563
- "actionId": "tier5.himiStoreProduct.addToCart"
24564
- },
24565
- "disabledPath": "$service:himiStoreProduct.addDisabled"
24512
+ "actionId": "tier5.himiStoreProduct.buy"
24513
+ }
24566
24514
  }
24567
24515
  },
24568
24516
  "modifiers": {
24569
- "cornerRadius": 8,
24570
- "pressFeedback": "scale",
24571
- "haptic": "medium",
24572
- "height": 48,
24573
- "hiddenPath": "$service:himiStoreProduct.cartHidden",
24574
- "weight": 1
24517
+ "hiddenPath": "$service:himiStoreProduct.buyHidden"
24575
24518
  }
24576
24519
  },
24577
24520
  {
24578
- "id": "himi_product.adding",
24521
+ "id": "himi_product.buy_note",
24579
24522
  "body": {
24580
24523
  "package": "himalaya",
24581
- "type": "ZStack",
24524
+ "type": "Text",
24582
24525
  "props": {
24583
- "alignment": "center",
24584
- "children": [
24585
- {
24586
- "id": "",
24587
- "body": {
24588
- "package": "himalaya",
24589
- "type": "ActivityIndicator",
24590
- "props": {
24591
- "indeterminate": true,
24592
- "size": 18,
24593
- "tint": "textOnAccent"
24594
- }
24595
- }
24596
- }
24597
- ]
24526
+ "text": "$service:himiStoreProduct.buyNote",
24527
+ "style": "footnote",
24528
+ "color": "textSecondary",
24529
+ "collapseWhenEmpty": true
24598
24530
  }
24599
24531
  },
24600
24532
  "modifiers": {
24601
- "weight": 1,
24602
- "height": 48,
24603
- "background": {
24604
- "token": "accentPrimary"
24605
- },
24606
- "cornerRadius": 8,
24607
- "accessibilityLabel": "Adding to cart…",
24608
- "hiddenPath": "$service:himiStoreProduct.notAdding"
24533
+ "hiddenPath": "$service:himiStoreProduct.buyHidden"
24534
+ }
24535
+ },
24536
+ {
24537
+ "id": "himi_product.purchased",
24538
+ "body": {
24539
+ "package": "himalaya",
24540
+ "type": "Text",
24541
+ "props": {
24542
+ "text": "$service:himiStoreProduct.purchasedNote",
24543
+ "style": "footnote",
24544
+ "collapseWhenEmpty": true
24545
+ }
24609
24546
  }
24610
24547
  }
24611
24548
  ]
24612
24549
  }
24613
- }
24614
- },
24615
- {
24616
- "id": "himi_product.buy",
24617
- "body": {
24618
- "package": "himalaya",
24619
- "type": "Button",
24620
- "props": {
24621
- "title": "$service:himiStoreProduct.buyLabel",
24622
- "style": "primary",
24623
- "fullWidth": true,
24624
- "disabledPath": "$service:himiStoreProduct.buyDisabled",
24625
- "action": {
24626
- "actionId": "tier5.himiStoreProduct.buy"
24627
- }
24628
- }
24629
- },
24630
- "modifiers": {
24631
- "hiddenPath": "$service:himiStoreProduct.buyHidden"
24632
- }
24633
- },
24634
- {
24635
- "id": "himi_product.buy_note",
24636
- "body": {
24637
- "package": "himalaya",
24638
- "type": "Text",
24639
- "props": {
24640
- "text": "$service:himiStoreProduct.buyNote",
24641
- "style": "footnote",
24642
- "color": "textSecondary",
24643
- "collapseWhenEmpty": true
24644
- }
24645
24550
  },
24646
24551
  "modifiers": {
24647
- "hiddenPath": "$service:himiStoreProduct.buyHidden"
24648
- }
24649
- },
24650
- {
24651
- "id": "himi_product.purchased",
24652
- "body": {
24653
- "package": "himalaya",
24654
- "type": "Text",
24655
- "props": {
24656
- "text": "$service:himiStoreProduct.purchasedNote",
24657
- "style": "footnote",
24658
- "collapseWhenEmpty": true
24552
+ "background": {
24553
+ "token": "surfacePrimary"
24554
+ },
24555
+ "padding": {
24556
+ "leading": 16,
24557
+ "trailing": 16,
24558
+ "top": 8,
24559
+ "bottom": 8
24659
24560
  }
24660
24561
  }
24661
24562
  }
@@ -24663,19 +24564,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
24663
24564
  }
24664
24565
  },
24665
24566
  "modifiers": {
24666
- "background": {
24667
- "token": "surfacePrimary"
24668
- },
24669
- "padding": {
24670
- "leading": 16,
24671
- "trailing": 16,
24672
- "top": 8,
24673
- "bottom": 8
24674
- },
24675
24567
  "hiddenPath": "$service:himiStoreProduct.hideBar"
24676
24568
  }
24677
24569
  },
24678
24570
  "topBar": {
24571
+ "style": "transparent",
24679
24572
  "actions": [
24680
24573
  {
24681
24574
  "id": "share",