@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
@@ -7489,19 +7489,6 @@ const SCREENS = runtimeSetting({
7489
7489
  }
7490
7490
  }
7491
7491
  },
7492
- {
7493
- "id": "himi_shop.subtitle",
7494
- "body": {
7495
- "package": "himalaya",
7496
- "type": "Text",
7497
- "props": {
7498
- "text": "Original prints and editions, made to order.",
7499
- "style": "body",
7500
- "color": "textSecondary",
7501
- "collapseWhenEmpty": true
7502
- }
7503
- }
7504
- },
7505
7492
  {
7506
7493
  "id": "himi_shop.search",
7507
7494
  "body": {
@@ -7667,46 +7654,6 @@ const SCREENS = runtimeSetting({
7667
7654
  "bottom": 10
7668
7655
  }
7669
7656
  }
7670
- },
7671
- {
7672
- "id": "himi_shop.refresh",
7673
- "body": {
7674
- "package": "himalaya",
7675
- "type": "HStack",
7676
- "props": {
7677
- "spacing": 4,
7678
- "children": [
7679
- {
7680
- "id": "",
7681
- "body": {
7682
- "package": "himalaya",
7683
- "type": "Icon",
7684
- "props": {
7685
- "name": "refresh",
7686
- "size": 16,
7687
- "tint": "textPrimary"
7688
- }
7689
- },
7690
- "modifiers": {
7691
- "accessibilityRole": "decorative"
7692
- }
7693
- }
7694
- ]
7695
- }
7696
- },
7697
- "modifiers": {
7698
- "onTap": {
7699
- "actionId": "tier5.himiBrandedShop.refresh"
7700
- },
7701
- "accessibilityLabel": "Refresh",
7702
- "accessibilityRole": "button",
7703
- "padding": {
7704
- "leading": 0,
7705
- "trailing": 0,
7706
- "top": 10,
7707
- "bottom": 10
7708
- }
7709
- }
7710
7657
  }
7711
7658
  ]
7712
7659
  }
@@ -8365,7 +8312,17 @@ const SCREENS = runtimeSetting({
8365
8312
  "fillMaxWidth": true
8366
8313
  }
8367
8314
  }
8368
- ]
8315
+ ],
8316
+ "onPullToRefresh": {
8317
+ "actionId": "tier5.himiBrandedShop.refresh"
8318
+ },
8319
+ "pagination": {
8320
+ "cursor": "$service:himiBrandedShop.nextCursor",
8321
+ "onLoadMore": {
8322
+ "actionId": "tier5.himiBrandedShop.loadMore"
8323
+ },
8324
+ "pageSize": 24
8325
+ }
8369
8326
  }
8370
8327
  },
8371
8328
  "modifiers": {
@@ -8798,29 +8755,21 @@ const SCREENS = runtimeSetting({
8798
8755
  "fillMaxWidth": true
8799
8756
  }
8800
8757
  }
8801
- ]
8802
- }
8803
- },
8804
- "modifiers": {
8805
- "hiddenPath": "$service:himiBrandedShop.hideCompact"
8806
- }
8807
- },
8808
- {
8809
- "id": "himi_shop.more",
8810
- "body": {
8811
- "package": "himalaya",
8812
- "type": "Button",
8813
- "props": {
8814
- "title": "Show more products",
8815
- "style": "secondary",
8816
- "fullWidth": true,
8817
- "action": {
8818
- "actionId": "tier5.himiBrandedShop.showMore"
8758
+ ],
8759
+ "onPullToRefresh": {
8760
+ "actionId": "tier5.himiBrandedShop.refresh"
8761
+ },
8762
+ "pagination": {
8763
+ "cursor": "$service:himiBrandedShop.nextCursor",
8764
+ "onLoadMore": {
8765
+ "actionId": "tier5.himiBrandedShop.loadMore"
8766
+ },
8767
+ "pageSize": 24
8819
8768
  }
8820
8769
  }
8821
8770
  },
8822
8771
  "modifiers": {
8823
- "hiddenPath": "$service:himiBrandedShop.noMore"
8772
+ "hiddenPath": "$service:himiBrandedShop.hideCompact"
8824
8773
  }
8825
8774
  }
8826
8775
  ]
@@ -11798,46 +11747,6 @@ const SCREENS = runtimeSetting({
11798
11747
  "bottom": 10
11799
11748
  }
11800
11749
  }
11801
- },
11802
- {
11803
- "id": "himi_collection.refresh",
11804
- "body": {
11805
- "package": "himalaya",
11806
- "type": "HStack",
11807
- "props": {
11808
- "spacing": 4,
11809
- "children": [
11810
- {
11811
- "id": "",
11812
- "body": {
11813
- "package": "himalaya",
11814
- "type": "Icon",
11815
- "props": {
11816
- "name": "refresh",
11817
- "size": 16,
11818
- "tint": "textPrimary"
11819
- }
11820
- },
11821
- "modifiers": {
11822
- "accessibilityRole": "decorative"
11823
- }
11824
- }
11825
- ]
11826
- }
11827
- },
11828
- "modifiers": {
11829
- "onTap": {
11830
- "actionId": "tier5.himiBrandedCategory.load"
11831
- },
11832
- "accessibilityLabel": "Refresh",
11833
- "accessibilityRole": "button",
11834
- "padding": {
11835
- "leading": 0,
11836
- "trailing": 0,
11837
- "top": 10,
11838
- "bottom": 10
11839
- }
11840
- }
11841
11750
  }
11842
11751
  ]
11843
11752
  }
@@ -12415,7 +12324,17 @@ const SCREENS = runtimeSetting({
12415
12324
  "fillMaxWidth": true
12416
12325
  }
12417
12326
  }
12418
- ]
12327
+ ],
12328
+ "onPullToRefresh": {
12329
+ "actionId": "tier5.himiBrandedCategory.load"
12330
+ },
12331
+ "pagination": {
12332
+ "cursor": "$service:himiBrandedCategory.nextCursor",
12333
+ "onLoadMore": {
12334
+ "actionId": "tier5.himiBrandedCategory.loadMore"
12335
+ },
12336
+ "pageSize": 24
12337
+ }
12419
12338
  }
12420
12339
  },
12421
12340
  "modifiers": {
@@ -12861,29 +12780,21 @@ const SCREENS = runtimeSetting({
12861
12780
  "fillMaxWidth": true
12862
12781
  }
12863
12782
  }
12864
- ]
12865
- }
12866
- },
12867
- "modifiers": {
12868
- "hiddenPath": "$service:himiBrandedCategory.hideCompact"
12869
- }
12870
- },
12871
- {
12872
- "id": "himi_collection.more",
12873
- "body": {
12874
- "package": "himalaya",
12875
- "type": "Button",
12876
- "props": {
12877
- "title": "Show more products",
12878
- "style": "secondary",
12879
- "fullWidth": true,
12880
- "action": {
12881
- "actionId": "tier5.himiBrandedCategory.showMore"
12783
+ ],
12784
+ "onPullToRefresh": {
12785
+ "actionId": "tier5.himiBrandedCategory.load"
12786
+ },
12787
+ "pagination": {
12788
+ "cursor": "$service:himiBrandedCategory.nextCursor",
12789
+ "onLoadMore": {
12790
+ "actionId": "tier5.himiBrandedCategory.loadMore"
12791
+ },
12792
+ "pageSize": 24
12882
12793
  }
12883
12794
  }
12884
12795
  },
12885
12796
  "modifiers": {
12886
- "hiddenPath": "$service:himiBrandedCategory.noMore"
12797
+ "hiddenPath": "$service:himiBrandedCategory.hideCompact"
12887
12798
  }
12888
12799
  }
12889
12800
  ]
@@ -30221,7 +30132,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30221
30132
  "itemsPath": "$service:himiStoreProduct.gallery",
30222
30133
  "items": [
30223
30134
  {
30224
- "id": "",
30135
+ "id": "himi_product.gallery.$item.id",
30225
30136
  "body": {
30226
30137
  "package": "himalaya",
30227
30138
  "type": "Image",
@@ -30230,6 +30141,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30230
30141
  "fillWidth": true,
30231
30142
  "height": 510,
30232
30143
  "contentMode": "fill",
30144
+ "shape": "rect",
30233
30145
  "contentDescription": "$service:himiStoreProduct.name"
30234
30146
  }
30235
30147
  },
@@ -30237,10 +30149,19 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30237
30149
  "fillMaxWidth": true
30238
30150
  }
30239
30151
  }
30240
- ]
30152
+ ],
30153
+ "paged": true,
30154
+ "currentIndexPath": "$service:himiStoreProduct.galleryIndex",
30155
+ "onChange": {
30156
+ "actionId": "tier5.himiStoreProduct.setGalleryIndex"
30157
+ },
30158
+ "liveWindow": 1
30241
30159
  }
30242
30160
  },
30243
30161
  "modifiers": {
30162
+ "height": 534,
30163
+ "fillMaxWidth": true,
30164
+ "accessibilityLabel": "$service:himiStoreProduct.galleryLabel",
30244
30165
  "hiddenPath": "$service:himiStoreProduct.noGallery"
30245
30166
  }
30246
30167
  },
@@ -30254,6 +30175,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30254
30175
  "fillWidth": true,
30255
30176
  "height": 510,
30256
30177
  "contentMode": "fill",
30178
+ "shape": "rect",
30257
30179
  "contentDescription": "$service:himiStoreProduct.name"
30258
30180
  }
30259
30181
  },
@@ -30501,21 +30423,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30501
30423
  "id": "",
30502
30424
  "body": {
30503
30425
  "package": "himalaya",
30504
- "type": "Text",
30426
+ "type": "FieldError",
30505
30427
  "props": {
30506
- "text": "$service:himiStoreProduct.opt1Error",
30507
- "style": "footnote",
30508
- "color": "danger"
30428
+ "text": "",
30429
+ "textPath": "$service:himiStoreProduct.opt1Error"
30509
30430
  }
30510
- },
30511
- "modifiers": {
30512
- "hiddenPath": "$service:himiStoreProduct.noOpt1Error"
30513
30431
  }
30514
30432
  }
30515
30433
  ]
30516
30434
  }
30517
30435
  },
30518
30436
  "modifiers": {
30437
+ "scrollIntoViewPath": "$service:himiStoreProduct.opt1ScrollRequest",
30519
30438
  "hiddenPath": "$service:himiStoreProduct.noOpt1"
30520
30439
  }
30521
30440
  },
@@ -30608,21 +30527,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30608
30527
  "id": "",
30609
30528
  "body": {
30610
30529
  "package": "himalaya",
30611
- "type": "Text",
30530
+ "type": "FieldError",
30612
30531
  "props": {
30613
- "text": "$service:himiStoreProduct.opt2Error",
30614
- "style": "footnote",
30615
- "color": "danger"
30532
+ "text": "",
30533
+ "textPath": "$service:himiStoreProduct.opt2Error"
30616
30534
  }
30617
- },
30618
- "modifiers": {
30619
- "hiddenPath": "$service:himiStoreProduct.noOpt2Error"
30620
30535
  }
30621
30536
  }
30622
30537
  ]
30623
30538
  }
30624
30539
  },
30625
30540
  "modifiers": {
30541
+ "scrollIntoViewPath": "$service:himiStoreProduct.opt2ScrollRequest",
30626
30542
  "hiddenPath": "$service:himiStoreProduct.noOpt2"
30627
30543
  }
30628
30544
  },
@@ -30715,21 +30631,18 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
30715
30631
  "id": "",
30716
30632
  "body": {
30717
30633
  "package": "himalaya",
30718
- "type": "Text",
30634
+ "type": "FieldError",
30719
30635
  "props": {
30720
- "text": "$service:himiStoreProduct.opt3Error",
30721
- "style": "footnote",
30722
- "color": "danger"
30636
+ "text": "",
30637
+ "textPath": "$service:himiStoreProduct.opt3Error"
30723
30638
  }
30724
- },
30725
- "modifiers": {
30726
- "hiddenPath": "$service:himiStoreProduct.noOpt3Error"
30727
30639
  }
30728
30640
  }
30729
30641
  ]
30730
30642
  }
30731
30643
  },
30732
30644
  "modifiers": {
30645
+ "scrollIntoViewPath": "$service:himiStoreProduct.opt3ScrollRequest",
30733
30646
  "hiddenPath": "$service:himiStoreProduct.noOpt3"
30734
30647
  }
30735
30648
  },
@@ -31501,41 +31414,13 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31501
31414
  "id": "__HIMI_ID__"
31502
31415
  },
31503
31416
  "stickyFooter": {
31504
- "id": "himi_product.stickyFooter",
31417
+ "id": "",
31505
31418
  "body": {
31506
31419
  "package": "himalaya",
31507
31420
  "type": "VStack",
31508
31421
  "props": {
31509
- "spacing": 8,
31422
+ "spacing": 0,
31510
31423
  "children": [
31511
- {
31512
- "id": "himi_product.save_hint",
31513
- "body": {
31514
- "package": "himalaya",
31515
- "type": "Banner",
31516
- "props": {
31517
- "title": "$service:himiStoreProduct.saveHint",
31518
- "severity": "warning"
31519
- }
31520
- },
31521
- "modifiers": {
31522
- "hiddenPath": "$service:himiStoreProduct.noSaveHint"
31523
- }
31524
- },
31525
- {
31526
- "id": "himi_product.cart_hint",
31527
- "body": {
31528
- "package": "himalaya",
31529
- "type": "Banner",
31530
- "props": {
31531
- "title": "$service:himiStoreProduct.cartHint",
31532
- "severity": "warning"
31533
- }
31534
- },
31535
- "modifiers": {
31536
- "hiddenPath": "$service:himiStoreProduct.noCartHint"
31537
- }
31538
- },
31539
31424
  {
31540
31425
  "id": "",
31541
31426
  "body": {
@@ -31545,163 +31430,179 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31545
31430
  }
31546
31431
  },
31547
31432
  {
31548
- "id": "",
31433
+ "id": "himi_product.stickyFooter",
31549
31434
  "body": {
31550
31435
  "package": "himalaya",
31551
- "type": "HStack",
31436
+ "type": "VStack",
31552
31437
  "props": {
31553
- "spacing": 12,
31438
+ "spacing": 8,
31554
31439
  "children": [
31555
31440
  {
31556
- "id": "himi_product.save",
31441
+ "id": "himi_product.save_hint",
31557
31442
  "body": {
31558
31443
  "package": "himalaya",
31559
- "type": "ZStack",
31444
+ "type": "Banner",
31560
31445
  "props": {
31561
- "alignment": "center",
31446
+ "title": "$service:himiStoreProduct.saveHint",
31447
+ "severity": "warning"
31448
+ }
31449
+ },
31450
+ "modifiers": {
31451
+ "hiddenPath": "$service:himiStoreProduct.noSaveHint"
31452
+ }
31453
+ },
31454
+ {
31455
+ "id": "himi_product.cart_hint",
31456
+ "body": {
31457
+ "package": "himalaya",
31458
+ "type": "Banner",
31459
+ "props": {
31460
+ "title": "$service:himiStoreProduct.cartHint",
31461
+ "severity": "warning"
31462
+ }
31463
+ },
31464
+ "modifiers": {
31465
+ "hiddenPath": "$service:himiStoreProduct.noCartHint"
31466
+ }
31467
+ },
31468
+ {
31469
+ "id": "",
31470
+ "body": {
31471
+ "package": "himalaya",
31472
+ "type": "HStack",
31473
+ "props": {
31474
+ "spacing": 12,
31562
31475
  "children": [
31563
31476
  {
31564
- "id": "",
31477
+ "id": "himi_product.save",
31565
31478
  "body": {
31566
31479
  "package": "himalaya",
31567
- "type": "Icon",
31480
+ "type": "ZStack",
31568
31481
  "props": {
31569
- "name": "$service:himiStoreProduct.saveIcon",
31570
- "size": 22,
31571
- "tint": "textPrimary"
31482
+ "alignment": "center",
31483
+ "children": [
31484
+ {
31485
+ "id": "",
31486
+ "body": {
31487
+ "package": "himalaya",
31488
+ "type": "Icon",
31489
+ "props": {
31490
+ "name": "$service:himiStoreProduct.saveIcon",
31491
+ "size": 22,
31492
+ "tint": "textPrimary"
31493
+ }
31494
+ },
31495
+ "modifiers": {
31496
+ "accessibilityRole": "decorative"
31497
+ }
31498
+ }
31499
+ ]
31572
31500
  }
31573
31501
  },
31574
31502
  "modifiers": {
31575
- "accessibilityRole": "decorative"
31503
+ "width": 48,
31504
+ "height": 48,
31505
+ "cornerRadius": 24,
31506
+ "border": {
31507
+ "width": 1,
31508
+ "color": {
31509
+ "token": "border"
31510
+ }
31511
+ },
31512
+ "onTap": {
31513
+ "actionId": "tier5.himiStoreProduct.toggleSave"
31514
+ },
31515
+ "accessibilityRole": "button",
31516
+ "accessibilityLabel": "$service:himiStoreProduct.saveLabel",
31517
+ "haptic": "light"
31518
+ }
31519
+ },
31520
+ {
31521
+ "id": "himi_product.add_to_cart",
31522
+ "body": {
31523
+ "package": "himalaya",
31524
+ "type": "Button",
31525
+ "props": {
31526
+ "title": "$service:himiStoreProduct.addLabel",
31527
+ "style": "primary",
31528
+ "fullWidth": true,
31529
+ "action": {
31530
+ "actionId": "tier5.himiStoreProduct.addToCart"
31531
+ },
31532
+ "disabledPath": "$service:himiStoreProduct.addDisabled",
31533
+ "loadingPath": "$service:himiStoreProduct.adding"
31534
+ }
31535
+ },
31536
+ "modifiers": {
31537
+ "height": 48,
31538
+ "cornerRadius": 8,
31539
+ "hiddenPath": "$service:himiStoreProduct.cartHidden",
31540
+ "weight": 1
31576
31541
  }
31577
31542
  }
31578
31543
  ]
31579
31544
  }
31580
- },
31581
- "modifiers": {
31582
- "width": 48,
31583
- "height": 48,
31584
- "cornerRadius": 24,
31585
- "border": {
31586
- "width": 1,
31587
- "color": {
31588
- "token": "border"
31589
- }
31590
- },
31591
- "onTap": {
31592
- "actionId": "tier5.himiStoreProduct.toggleSave"
31593
- },
31594
- "accessibilityRole": "button",
31595
- "accessibilityLabel": "$service:himiStoreProduct.saveLabel",
31596
- "haptic": "light"
31597
31545
  }
31598
31546
  },
31599
31547
  {
31600
- "id": "himi_product.add_to_cart",
31548
+ "id": "himi_product.buy",
31601
31549
  "body": {
31602
31550
  "package": "himalaya",
31603
31551
  "type": "Button",
31604
31552
  "props": {
31605
- "title": "Add to cart",
31553
+ "title": "$service:himiStoreProduct.buyLabel",
31606
31554
  "style": "primary",
31607
31555
  "fullWidth": true,
31556
+ "disabledPath": "$service:himiStoreProduct.buyDisabled",
31608
31557
  "action": {
31609
- "actionId": "tier5.himiStoreProduct.addToCart"
31610
- },
31611
- "disabledPath": "$service:himiStoreProduct.addDisabled"
31558
+ "actionId": "tier5.himiStoreProduct.buy"
31559
+ }
31612
31560
  }
31613
31561
  },
31614
31562
  "modifiers": {
31615
- "cornerRadius": 8,
31616
- "pressFeedback": "scale",
31617
- "haptic": "medium",
31618
- "height": 48,
31619
- "hiddenPath": "$service:himiStoreProduct.cartHidden",
31620
- "weight": 1
31563
+ "hiddenPath": "$service:himiStoreProduct.buyHidden"
31621
31564
  }
31622
31565
  },
31623
31566
  {
31624
- "id": "himi_product.adding",
31567
+ "id": "himi_product.buy_note",
31625
31568
  "body": {
31626
31569
  "package": "himalaya",
31627
- "type": "ZStack",
31570
+ "type": "Text",
31628
31571
  "props": {
31629
- "alignment": "center",
31630
- "children": [
31631
- {
31632
- "id": "",
31633
- "body": {
31634
- "package": "himalaya",
31635
- "type": "ActivityIndicator",
31636
- "props": {
31637
- "indeterminate": true,
31638
- "size": 18,
31639
- "tint": "textOnAccent"
31640
- }
31641
- }
31642
- }
31643
- ]
31572
+ "text": "$service:himiStoreProduct.buyNote",
31573
+ "style": "footnote",
31574
+ "color": "textSecondary",
31575
+ "collapseWhenEmpty": true
31644
31576
  }
31645
31577
  },
31646
31578
  "modifiers": {
31647
- "weight": 1,
31648
- "height": 48,
31649
- "background": {
31650
- "token": "accentPrimary"
31651
- },
31652
- "cornerRadius": 8,
31653
- "accessibilityLabel": "Adding to cart…",
31654
- "hiddenPath": "$service:himiStoreProduct.notAdding"
31579
+ "hiddenPath": "$service:himiStoreProduct.buyHidden"
31580
+ }
31581
+ },
31582
+ {
31583
+ "id": "himi_product.purchased",
31584
+ "body": {
31585
+ "package": "himalaya",
31586
+ "type": "Text",
31587
+ "props": {
31588
+ "text": "$service:himiStoreProduct.purchasedNote",
31589
+ "style": "footnote",
31590
+ "collapseWhenEmpty": true
31591
+ }
31655
31592
  }
31656
31593
  }
31657
31594
  ]
31658
31595
  }
31659
- }
31660
- },
31661
- {
31662
- "id": "himi_product.buy",
31663
- "body": {
31664
- "package": "himalaya",
31665
- "type": "Button",
31666
- "props": {
31667
- "title": "$service:himiStoreProduct.buyLabel",
31668
- "style": "primary",
31669
- "fullWidth": true,
31670
- "disabledPath": "$service:himiStoreProduct.buyDisabled",
31671
- "action": {
31672
- "actionId": "tier5.himiStoreProduct.buy"
31673
- }
31674
- }
31675
- },
31676
- "modifiers": {
31677
- "hiddenPath": "$service:himiStoreProduct.buyHidden"
31678
- }
31679
- },
31680
- {
31681
- "id": "himi_product.buy_note",
31682
- "body": {
31683
- "package": "himalaya",
31684
- "type": "Text",
31685
- "props": {
31686
- "text": "$service:himiStoreProduct.buyNote",
31687
- "style": "footnote",
31688
- "color": "textSecondary",
31689
- "collapseWhenEmpty": true
31690
- }
31691
31596
  },
31692
31597
  "modifiers": {
31693
- "hiddenPath": "$service:himiStoreProduct.buyHidden"
31694
- }
31695
- },
31696
- {
31697
- "id": "himi_product.purchased",
31698
- "body": {
31699
- "package": "himalaya",
31700
- "type": "Text",
31701
- "props": {
31702
- "text": "$service:himiStoreProduct.purchasedNote",
31703
- "style": "footnote",
31704
- "collapseWhenEmpty": true
31598
+ "background": {
31599
+ "token": "surfacePrimary"
31600
+ },
31601
+ "padding": {
31602
+ "leading": 16,
31603
+ "trailing": 16,
31604
+ "top": 8,
31605
+ "bottom": 8
31705
31606
  }
31706
31607
  }
31707
31608
  }
@@ -31709,19 +31610,11 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
31709
31610
  }
31710
31611
  },
31711
31612
  "modifiers": {
31712
- "background": {
31713
- "token": "surfacePrimary"
31714
- },
31715
- "padding": {
31716
- "leading": 16,
31717
- "trailing": 16,
31718
- "top": 8,
31719
- "bottom": 8
31720
- },
31721
31613
  "hiddenPath": "$service:himiStoreProduct.hideBar"
31722
31614
  }
31723
31615
  },
31724
31616
  "topBar": {
31617
+ "style": "transparent",
31725
31618
  "actions": [
31726
31619
  {
31727
31620
  "id": "share",