@wix/himalaya-cli 0.1029.0 → 0.1030.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 (67) hide show
  1. package/dist/cli.mjs +55 -27
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/guides/component-reference.json +0 -7
  4. package/guides/component-reference.md +0 -2
  5. package/package.json +2 -2
  6. package/templates/beauty-salon/dev/index.ts +575 -214
  7. package/templates/beauty-salon/tier5-src/_shared/collection-contract.ts +4 -1
  8. package/templates/beauty-salon/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  9. package/templates/beauty-salon/tier5-src/himi-store-product/index.ts +36 -5
  10. package/templates/beauty-salon/tier5-src/wix-spaces-app-language/index.ts +4 -2
  11. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +4 -1
  12. package/templates/branded-lite/dev/index.ts +699 -228
  13. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +4 -1
  14. package/templates/branded-lite/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  15. package/templates/branded-lite/tier5-src/himi-branded-lite-notifsettings/index.ts +11 -6
  16. package/templates/branded-lite/tier5-src/himi-branded-lite-reviews/index.ts +11 -6
  17. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +36 -5
  18. package/templates/branded-lite/tier5-src/wix-spaces-app-language/index.ts +4 -2
  19. package/templates/community-club/dev/index.ts +451 -204
  20. package/templates/community-club/tier5-src/_shared/collection-contract.ts +4 -1
  21. package/templates/community-club/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  22. package/templates/community-club/tier5-src/wix-spaces-app-language/index.ts +4 -2
  23. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +4 -1
  24. package/templates/events-meetups/dev/index.ts +451 -204
  25. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +4 -1
  26. package/templates/events-meetups/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  27. package/templates/events-meetups/tier5-src/wix-spaces-app-language/index.ts +4 -2
  28. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +4 -1
  29. package/templates/gym-fitness/dev/index.ts +575 -214
  30. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +4 -1
  31. package/templates/gym-fitness/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  32. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +36 -5
  33. package/templates/gym-fitness/tier5-src/wix-spaces-app-language/index.ts +4 -2
  34. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +4 -1
  35. package/templates/nonprofit-cause/dev/index.ts +451 -204
  36. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +4 -1
  37. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  38. package/templates/nonprofit-cause/tier5-src/wix-spaces-app-language/index.ts +4 -2
  39. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +4 -1
  40. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +4 -1
  41. package/templates/podcast-creator/dev/index.ts +451 -204
  42. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +4 -1
  43. package/templates/podcast-creator/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  44. package/templates/podcast-creator/tier5-src/wix-spaces-app-language/index.ts +4 -2
  45. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +4 -1
  46. package/templates/portfolio-creative/dev/index.ts +575 -214
  47. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +4 -1
  48. package/templates/portfolio-creative/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  49. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +36 -5
  50. package/templates/portfolio-creative/tier5-src/wix-spaces-app-language/index.ts +4 -2
  51. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +4 -1
  52. package/templates/restaurant/dev/index.ts +451 -204
  53. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +4 -1
  54. package/templates/restaurant/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  55. package/templates/restaurant/tier5-src/wix-spaces-app-language/index.ts +4 -2
  56. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +4 -1
  57. package/templates/retail-store/dev/index.ts +575 -214
  58. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +4 -1
  59. package/templates/retail-store/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  60. package/templates/retail-store/tier5-src/himi-store-product/index.ts +36 -5
  61. package/templates/retail-store/tier5-src/wix-spaces-app-language/index.ts +4 -2
  62. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +4 -1
  63. package/templates/yoga-studio/dev/index.ts +451 -204
  64. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +4 -1
  65. package/templates/yoga-studio/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  66. package/templates/yoga-studio/tier5-src/wix-spaces-app-language/index.ts +4 -2
  67. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +4 -1
@@ -4391,18 +4391,6 @@ const SCREENS = runtimeSetting({
4391
4391
  "style": "title3"
4392
4392
  }
4393
4393
  }
4394
- },
4395
- {
4396
- "id": "",
4397
- "body": {
4398
- "package": "himalaya",
4399
- "type": "Text",
4400
- "props": {
4401
- "text": "Tint the brand surfaces.",
4402
- "style": "footnote",
4403
- "color": "textSecondary"
4404
- }
4405
- }
4406
4394
  }
4407
4395
  ]
4408
4396
  }
@@ -4414,218 +4402,506 @@ const SCREENS = runtimeSetting({
4414
4402
  "package": "himalaya",
4415
4403
  "type": "Grid",
4416
4404
  "props": {
4417
- "columns": 6,
4405
+ "columns": 3,
4418
4406
  "columnsMedium": 6,
4419
4407
  "spacing": 12,
4420
4408
  "items": [
4421
4409
  {
4422
- "id": "himi_appearance.accent.brand",
4410
+ "id": "himi_appearance.accent_option.brand",
4423
4411
  "body": {
4424
4412
  "package": "himalaya",
4425
- "type": "ZStack",
4413
+ "type": "VStack",
4426
4414
  "props": {
4415
+ "spacing": 8,
4427
4416
  "alignment": "center",
4428
- "children": []
4417
+ "children": [
4418
+ {
4419
+ "id": "himi_appearance.accent.brand",
4420
+ "body": {
4421
+ "package": "himalaya",
4422
+ "type": "ZStack",
4423
+ "props": {
4424
+ "alignment": "center",
4425
+ "children": [
4426
+ {
4427
+ "id": "",
4428
+ "body": {
4429
+ "package": "himalaya",
4430
+ "type": "Icon",
4431
+ "props": {
4432
+ "name": "check",
4433
+ "size": 20,
4434
+ "tint": "textOnAccent"
4435
+ }
4436
+ },
4437
+ "modifiers": {
4438
+ "accessibilityRole": "decorative",
4439
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
4440
+ }
4441
+ }
4442
+ ]
4443
+ }
4444
+ },
4445
+ "modifiers": {
4446
+ "width": 46,
4447
+ "height": 46,
4448
+ "cornerRadius": 23,
4449
+ "background": {
4450
+ "token": "accentPrimary"
4451
+ },
4452
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4453
+ "border": {
4454
+ "width": 2,
4455
+ "color": {
4456
+ "token": "border"
4457
+ }
4458
+ }
4459
+ }
4460
+ },
4461
+ {
4462
+ "id": "himi_appearance.accent_radio.brand",
4463
+ "body": {
4464
+ "package": "himalaya",
4465
+ "type": "SelectionControl",
4466
+ "props": {
4467
+ "kind": "radio",
4468
+ "groupId": "himi_appearance.accent",
4469
+ "label": "Brand",
4470
+ "valuePath": "$service:himiBrandedAppearance.selected_brand",
4471
+ "onChange": {
4472
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4473
+ "params": {
4474
+ "id": "brand"
4475
+ }
4476
+ }
4477
+ }
4478
+ }
4479
+ }
4480
+ ]
4429
4481
  }
4430
4482
  },
4431
4483
  "modifiers": {
4432
- "width": 46,
4433
- "height": 46,
4434
- "cornerRadius": 23,
4435
- "background": {
4436
- "token": "accentPrimary"
4437
- },
4438
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4439
- "border": {
4440
- "width": 2,
4441
- "color": {
4442
- "token": "border"
4443
- }
4444
- },
4445
- "onTap": {
4446
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4447
- "params": {
4448
- "id": "brand"
4449
- }
4450
- },
4451
- "pressFeedback": "scale",
4452
- "haptic": "light",
4453
- "accessibilityLabel": "brand"
4484
+ "padding": {
4485
+ "top": 6,
4486
+ "bottom": 6,
4487
+ "leading": 4,
4488
+ "trailing": 4
4489
+ }
4454
4490
  }
4455
4491
  },
4456
4492
  {
4457
- "id": "himi_appearance.accent.amber",
4493
+ "id": "himi_appearance.accent_option.amber",
4458
4494
  "body": {
4459
4495
  "package": "himalaya",
4460
- "type": "ZStack",
4496
+ "type": "VStack",
4461
4497
  "props": {
4498
+ "spacing": 8,
4462
4499
  "alignment": "center",
4463
- "children": []
4500
+ "children": [
4501
+ {
4502
+ "id": "himi_appearance.accent.amber",
4503
+ "body": {
4504
+ "package": "himalaya",
4505
+ "type": "ZStack",
4506
+ "props": {
4507
+ "alignment": "center",
4508
+ "children": [
4509
+ {
4510
+ "id": "",
4511
+ "body": {
4512
+ "package": "himalaya",
4513
+ "type": "Icon",
4514
+ "props": {
4515
+ "name": "check",
4516
+ "size": 20,
4517
+ "tint": "textOnAccent"
4518
+ }
4519
+ },
4520
+ "modifiers": {
4521
+ "accessibilityRole": "decorative",
4522
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
4523
+ }
4524
+ }
4525
+ ]
4526
+ }
4527
+ },
4528
+ "modifiers": {
4529
+ "width": 46,
4530
+ "height": 46,
4531
+ "cornerRadius": 23,
4532
+ "background": {
4533
+ "token": "accentPrimary"
4534
+ },
4535
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4536
+ "border": {
4537
+ "width": 2,
4538
+ "color": {
4539
+ "token": "border"
4540
+ }
4541
+ }
4542
+ }
4543
+ },
4544
+ {
4545
+ "id": "himi_appearance.accent_radio.amber",
4546
+ "body": {
4547
+ "package": "himalaya",
4548
+ "type": "SelectionControl",
4549
+ "props": {
4550
+ "kind": "radio",
4551
+ "groupId": "himi_appearance.accent",
4552
+ "label": "Amber",
4553
+ "valuePath": "$service:himiBrandedAppearance.selected_amber",
4554
+ "onChange": {
4555
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4556
+ "params": {
4557
+ "id": "amber"
4558
+ }
4559
+ }
4560
+ }
4561
+ }
4562
+ }
4563
+ ]
4464
4564
  }
4465
4565
  },
4466
4566
  "modifiers": {
4467
- "width": 46,
4468
- "height": 46,
4469
- "cornerRadius": 23,
4470
- "background": {
4471
- "token": "accentPrimary"
4472
- },
4473
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4474
- "border": {
4475
- "width": 2,
4476
- "color": {
4477
- "token": "border"
4478
- }
4479
- },
4480
- "onTap": {
4481
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4482
- "params": {
4483
- "id": "amber"
4484
- }
4485
- },
4486
- "pressFeedback": "scale",
4487
- "haptic": "light",
4488
- "accessibilityLabel": "amber"
4567
+ "padding": {
4568
+ "top": 6,
4569
+ "bottom": 6,
4570
+ "leading": 4,
4571
+ "trailing": 4
4572
+ }
4489
4573
  }
4490
4574
  },
4491
4575
  {
4492
- "id": "himi_appearance.accent.terracotta",
4576
+ "id": "himi_appearance.accent_option.terracotta",
4493
4577
  "body": {
4494
4578
  "package": "himalaya",
4495
- "type": "ZStack",
4579
+ "type": "VStack",
4496
4580
  "props": {
4581
+ "spacing": 8,
4497
4582
  "alignment": "center",
4498
- "children": []
4583
+ "children": [
4584
+ {
4585
+ "id": "himi_appearance.accent.terracotta",
4586
+ "body": {
4587
+ "package": "himalaya",
4588
+ "type": "ZStack",
4589
+ "props": {
4590
+ "alignment": "center",
4591
+ "children": [
4592
+ {
4593
+ "id": "",
4594
+ "body": {
4595
+ "package": "himalaya",
4596
+ "type": "Icon",
4597
+ "props": {
4598
+ "name": "check",
4599
+ "size": 20,
4600
+ "tint": "textOnAccent"
4601
+ }
4602
+ },
4603
+ "modifiers": {
4604
+ "accessibilityRole": "decorative",
4605
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
4606
+ }
4607
+ }
4608
+ ]
4609
+ }
4610
+ },
4611
+ "modifiers": {
4612
+ "width": 46,
4613
+ "height": 46,
4614
+ "cornerRadius": 23,
4615
+ "background": {
4616
+ "token": "accentPrimary"
4617
+ },
4618
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4619
+ "border": {
4620
+ "width": 2,
4621
+ "color": {
4622
+ "token": "border"
4623
+ }
4624
+ }
4625
+ }
4626
+ },
4627
+ {
4628
+ "id": "himi_appearance.accent_radio.terracotta",
4629
+ "body": {
4630
+ "package": "himalaya",
4631
+ "type": "SelectionControl",
4632
+ "props": {
4633
+ "kind": "radio",
4634
+ "groupId": "himi_appearance.accent",
4635
+ "label": "Terracotta",
4636
+ "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
4637
+ "onChange": {
4638
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4639
+ "params": {
4640
+ "id": "terracotta"
4641
+ }
4642
+ }
4643
+ }
4644
+ }
4645
+ }
4646
+ ]
4499
4647
  }
4500
4648
  },
4501
4649
  "modifiers": {
4502
- "width": 46,
4503
- "height": 46,
4504
- "cornerRadius": 23,
4505
- "background": {
4506
- "token": "accentPrimary"
4507
- },
4508
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4509
- "border": {
4510
- "width": 2,
4511
- "color": {
4512
- "token": "border"
4513
- }
4514
- },
4515
- "onTap": {
4516
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4517
- "params": {
4518
- "id": "terracotta"
4519
- }
4520
- },
4521
- "pressFeedback": "scale",
4522
- "haptic": "light",
4523
- "accessibilityLabel": "terracotta"
4650
+ "padding": {
4651
+ "top": 6,
4652
+ "bottom": 6,
4653
+ "leading": 4,
4654
+ "trailing": 4
4655
+ }
4524
4656
  }
4525
4657
  },
4526
4658
  {
4527
- "id": "himi_appearance.accent.sage",
4659
+ "id": "himi_appearance.accent_option.sage",
4528
4660
  "body": {
4529
4661
  "package": "himalaya",
4530
- "type": "ZStack",
4662
+ "type": "VStack",
4531
4663
  "props": {
4664
+ "spacing": 8,
4532
4665
  "alignment": "center",
4533
- "children": []
4666
+ "children": [
4667
+ {
4668
+ "id": "himi_appearance.accent.sage",
4669
+ "body": {
4670
+ "package": "himalaya",
4671
+ "type": "ZStack",
4672
+ "props": {
4673
+ "alignment": "center",
4674
+ "children": [
4675
+ {
4676
+ "id": "",
4677
+ "body": {
4678
+ "package": "himalaya",
4679
+ "type": "Icon",
4680
+ "props": {
4681
+ "name": "check",
4682
+ "size": 20,
4683
+ "tint": "textOnAccent"
4684
+ }
4685
+ },
4686
+ "modifiers": {
4687
+ "accessibilityRole": "decorative",
4688
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
4689
+ }
4690
+ }
4691
+ ]
4692
+ }
4693
+ },
4694
+ "modifiers": {
4695
+ "width": 46,
4696
+ "height": 46,
4697
+ "cornerRadius": 23,
4698
+ "background": {
4699
+ "token": "accentPrimary"
4700
+ },
4701
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4702
+ "border": {
4703
+ "width": 2,
4704
+ "color": {
4705
+ "token": "border"
4706
+ }
4707
+ }
4708
+ }
4709
+ },
4710
+ {
4711
+ "id": "himi_appearance.accent_radio.sage",
4712
+ "body": {
4713
+ "package": "himalaya",
4714
+ "type": "SelectionControl",
4715
+ "props": {
4716
+ "kind": "radio",
4717
+ "groupId": "himi_appearance.accent",
4718
+ "label": "Sage",
4719
+ "valuePath": "$service:himiBrandedAppearance.selected_sage",
4720
+ "onChange": {
4721
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4722
+ "params": {
4723
+ "id": "sage"
4724
+ }
4725
+ }
4726
+ }
4727
+ }
4728
+ }
4729
+ ]
4730
+ }
4731
+ },
4732
+ "modifiers": {
4733
+ "padding": {
4734
+ "top": 6,
4735
+ "bottom": 6,
4736
+ "leading": 4,
4737
+ "trailing": 4
4738
+ }
4739
+ }
4740
+ },
4741
+ {
4742
+ "id": "himi_appearance.accent_option.plum",
4743
+ "body": {
4744
+ "package": "himalaya",
4745
+ "type": "VStack",
4746
+ "props": {
4747
+ "spacing": 8,
4748
+ "alignment": "center",
4749
+ "children": [
4750
+ {
4751
+ "id": "himi_appearance.accent.plum",
4752
+ "body": {
4753
+ "package": "himalaya",
4754
+ "type": "ZStack",
4755
+ "props": {
4756
+ "alignment": "center",
4757
+ "children": [
4758
+ {
4759
+ "id": "",
4760
+ "body": {
4761
+ "package": "himalaya",
4762
+ "type": "Icon",
4763
+ "props": {
4764
+ "name": "check",
4765
+ "size": 20,
4766
+ "tint": "textOnAccent"
4767
+ }
4768
+ },
4769
+ "modifiers": {
4770
+ "accessibilityRole": "decorative",
4771
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
4772
+ }
4773
+ }
4774
+ ]
4775
+ }
4776
+ },
4777
+ "modifiers": {
4778
+ "width": 46,
4779
+ "height": 46,
4780
+ "cornerRadius": 23,
4781
+ "background": {
4782
+ "token": "accentPrimary"
4783
+ },
4784
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4785
+ "border": {
4786
+ "width": 2,
4787
+ "color": {
4788
+ "token": "border"
4789
+ }
4790
+ }
4791
+ }
4792
+ },
4793
+ {
4794
+ "id": "himi_appearance.accent_radio.plum",
4795
+ "body": {
4796
+ "package": "himalaya",
4797
+ "type": "SelectionControl",
4798
+ "props": {
4799
+ "kind": "radio",
4800
+ "groupId": "himi_appearance.accent",
4801
+ "label": "Plum",
4802
+ "valuePath": "$service:himiBrandedAppearance.selected_plum",
4803
+ "onChange": {
4804
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4805
+ "params": {
4806
+ "id": "plum"
4807
+ }
4808
+ }
4809
+ }
4810
+ }
4811
+ }
4812
+ ]
4534
4813
  }
4535
4814
  },
4536
4815
  "modifiers": {
4537
- "width": 46,
4538
- "height": 46,
4539
- "cornerRadius": 23,
4540
- "background": {
4541
- "token": "accentPrimary"
4542
- },
4543
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4544
- "border": {
4545
- "width": 2,
4546
- "color": {
4547
- "token": "border"
4548
- }
4549
- },
4550
- "onTap": {
4551
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4552
- "params": {
4553
- "id": "sage"
4554
- }
4555
- },
4556
- "pressFeedback": "scale",
4557
- "haptic": "light",
4558
- "accessibilityLabel": "sage"
4559
- }
4560
- },
4561
- {
4562
- "id": "himi_appearance.accent.plum",
4563
- "body": {
4564
- "package": "himalaya",
4565
- "type": "ZStack",
4566
- "props": {
4567
- "alignment": "center",
4568
- "children": []
4816
+ "padding": {
4817
+ "top": 6,
4818
+ "bottom": 6,
4819
+ "leading": 4,
4820
+ "trailing": 4
4569
4821
  }
4570
- },
4571
- "modifiers": {
4572
- "width": 46,
4573
- "height": 46,
4574
- "cornerRadius": 23,
4575
- "background": {
4576
- "token": "accentPrimary"
4577
- },
4578
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4579
- "border": {
4580
- "width": 2,
4581
- "color": {
4582
- "token": "border"
4583
- }
4584
- },
4585
- "onTap": {
4586
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4587
- "params": {
4588
- "id": "plum"
4589
- }
4590
- },
4591
- "pressFeedback": "scale",
4592
- "haptic": "light",
4593
- "accessibilityLabel": "plum"
4594
4822
  }
4595
4823
  },
4596
4824
  {
4597
- "id": "himi_appearance.accent.ocean",
4825
+ "id": "himi_appearance.accent_option.ocean",
4598
4826
  "body": {
4599
4827
  "package": "himalaya",
4600
- "type": "ZStack",
4828
+ "type": "VStack",
4601
4829
  "props": {
4830
+ "spacing": 8,
4602
4831
  "alignment": "center",
4603
- "children": []
4832
+ "children": [
4833
+ {
4834
+ "id": "himi_appearance.accent.ocean",
4835
+ "body": {
4836
+ "package": "himalaya",
4837
+ "type": "ZStack",
4838
+ "props": {
4839
+ "alignment": "center",
4840
+ "children": [
4841
+ {
4842
+ "id": "",
4843
+ "body": {
4844
+ "package": "himalaya",
4845
+ "type": "Icon",
4846
+ "props": {
4847
+ "name": "check",
4848
+ "size": 20,
4849
+ "tint": "textOnAccent"
4850
+ }
4851
+ },
4852
+ "modifiers": {
4853
+ "accessibilityRole": "decorative",
4854
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
4855
+ }
4856
+ }
4857
+ ]
4858
+ }
4859
+ },
4860
+ "modifiers": {
4861
+ "width": 46,
4862
+ "height": 46,
4863
+ "cornerRadius": 23,
4864
+ "background": {
4865
+ "token": "accentPrimary"
4866
+ },
4867
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4868
+ "border": {
4869
+ "width": 2,
4870
+ "color": {
4871
+ "token": "border"
4872
+ }
4873
+ }
4874
+ }
4875
+ },
4876
+ {
4877
+ "id": "himi_appearance.accent_radio.ocean",
4878
+ "body": {
4879
+ "package": "himalaya",
4880
+ "type": "SelectionControl",
4881
+ "props": {
4882
+ "kind": "radio",
4883
+ "groupId": "himi_appearance.accent",
4884
+ "label": "Ocean",
4885
+ "valuePath": "$service:himiBrandedAppearance.selected_ocean",
4886
+ "onChange": {
4887
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4888
+ "params": {
4889
+ "id": "ocean"
4890
+ }
4891
+ }
4892
+ }
4893
+ }
4894
+ }
4895
+ ]
4604
4896
  }
4605
4897
  },
4606
4898
  "modifiers": {
4607
- "width": 46,
4608
- "height": 46,
4609
- "cornerRadius": 23,
4610
- "background": {
4611
- "token": "accentPrimary"
4612
- },
4613
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4614
- "border": {
4615
- "width": 2,
4616
- "color": {
4617
- "token": "border"
4618
- }
4619
- },
4620
- "onTap": {
4621
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4622
- "params": {
4623
- "id": "ocean"
4624
- }
4625
- },
4626
- "pressFeedback": "scale",
4627
- "haptic": "light",
4628
- "accessibilityLabel": "ocean"
4899
+ "padding": {
4900
+ "top": 6,
4901
+ "bottom": 6,
4902
+ "leading": 4,
4903
+ "trailing": 4
4904
+ }
4629
4905
  }
4630
4906
  }
4631
4907
  ]
@@ -5125,41 +5401,21 @@ const SCREENS = runtimeSetting({
5125
5401
  "spacing": 12,
5126
5402
  "children": [
5127
5403
  {
5128
- "id": "",
5404
+ "id": "himi_app_language.option.$item.id",
5129
5405
  "body": {
5130
5406
  "package": "himalaya",
5131
- "type": "VStack",
5407
+ "type": "SelectionControl",
5132
5408
  "props": {
5133
- "spacing": 3,
5134
- "alignment": "leading",
5135
- "children": [
5136
- {
5137
- "id": "",
5138
- "body": {
5139
- "package": "himalaya",
5140
- "type": "Text",
5141
- "props": {
5142
- "text": "$item.name",
5143
- "style": "bodyEmphasis",
5144
- "maxLines": 1
5145
- }
5146
- }
5147
- },
5148
- {
5149
- "id": "",
5150
- "body": {
5151
- "package": "himalaya",
5152
- "type": "Text",
5153
- "props": {
5154
- "text": "$item.subtitle",
5155
- "style": "caption",
5156
- "color": "accentPrimary",
5157
- "maxLines": 1,
5158
- "collapseWhenEmpty": true
5159
- }
5160
- }
5409
+ "kind": "radio",
5410
+ "groupId": "himi_app_language",
5411
+ "label": "$item.name",
5412
+ "valuePath": "$item.selected",
5413
+ "onChange": {
5414
+ "actionId": "tier5.spacesAppLanguage.select",
5415
+ "params": {
5416
+ "id": "$item.id"
5161
5417
  }
5162
- ]
5418
+ }
5163
5419
  }
5164
5420
  }
5165
5421
  },
@@ -5190,16 +5446,7 @@ const SCREENS = runtimeSetting({
5190
5446
  "trailing": 12,
5191
5447
  "top": 12,
5192
5448
  "bottom": 12
5193
- },
5194
- "onTap": {
5195
- "actionId": "tier5.spacesAppLanguage.select",
5196
- "params": {
5197
- "id": "$item.id"
5198
- }
5199
- },
5200
- "pressFeedback": "scale",
5201
- "haptic": "light",
5202
- "accessibilityLabel": "$item.name"
5449
+ }
5203
5450
  }
5204
5451
  }
5205
5452
  ]
@@ -25613,6 +25860,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25613
25860
  "color": "textSecondary",
25614
25861
  "collapseWhenEmpty": true
25615
25862
  }
25863
+ },
25864
+ "modifiers": {
25865
+ "hiddenPath": "$service:himiStoreProduct.added"
25616
25866
  }
25617
25867
  }
25618
25868
  ]
@@ -25728,7 +25978,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25728
25978
  "package": "himalaya",
25729
25979
  "type": "VStack",
25730
25980
  "props": {
25731
- "spacing": 0,
25981
+ "spacing": 8,
25732
25982
  "children": [
25733
25983
  {
25734
25984
  "id": "himi_product.add_to_cart",
@@ -25749,6 +25999,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
25749
25999
  "pressFeedback": "scale",
25750
26000
  "haptic": "medium"
25751
26001
  }
26002
+ },
26003
+ {
26004
+ "id": "himi_product.adding",
26005
+ "body": {
26006
+ "package": "himalaya",
26007
+ "type": "HStack",
26008
+ "props": {
26009
+ "spacing": 8,
26010
+ "children": [
26011
+ {
26012
+ "id": "",
26013
+ "body": {
26014
+ "package": "himalaya",
26015
+ "type": "ActivityIndicator",
26016
+ "props": {
26017
+ "indeterminate": true,
26018
+ "size": 16
26019
+ }
26020
+ }
26021
+ },
26022
+ {
26023
+ "id": "",
26024
+ "body": {
26025
+ "package": "himalaya",
26026
+ "type": "Text",
26027
+ "props": {
26028
+ "text": "Adding to cart…",
26029
+ "style": "footnote",
26030
+ "color": "textSecondary"
26031
+ }
26032
+ }
26033
+ }
26034
+ ]
26035
+ }
26036
+ },
26037
+ "modifiers": {
26038
+ "hiddenPath": "$service:himiStoreProduct.notAdding"
26039
+ }
26040
+ },
26041
+ {
26042
+ "id": "himi_product.added_confirmation",
26043
+ "body": {
26044
+ "package": "himalaya",
26045
+ "type": "HStack",
26046
+ "props": {
26047
+ "spacing": 10,
26048
+ "children": [
26049
+ {
26050
+ "id": "",
26051
+ "body": {
26052
+ "package": "himalaya",
26053
+ "type": "Icon",
26054
+ "props": {
26055
+ "name": "check",
26056
+ "size": 18,
26057
+ "tint": "success"
26058
+ }
26059
+ },
26060
+ "modifiers": {
26061
+ "accessibilityRole": "decorative"
26062
+ }
26063
+ },
26064
+ {
26065
+ "id": "",
26066
+ "body": {
26067
+ "package": "himalaya",
26068
+ "type": "Text",
26069
+ "props": {
26070
+ "text": "$service:himiStoreProduct.cartHint",
26071
+ "style": "footnote",
26072
+ "collapseWhenEmpty": true
26073
+ }
26074
+ },
26075
+ "modifiers": {
26076
+ "weight": 1
26077
+ }
26078
+ },
26079
+ {
26080
+ "id": "himi_product.view_cart",
26081
+ "body": {
26082
+ "package": "himalaya",
26083
+ "type": "Button",
26084
+ "props": {
26085
+ "title": "View cart",
26086
+ "style": "tertiary",
26087
+ "action": {
26088
+ "actionId": "himi.open",
26089
+ "params": {
26090
+ "screenId": "himi_cart"
26091
+ }
26092
+ }
26093
+ }
26094
+ }
26095
+ }
26096
+ ]
26097
+ }
26098
+ },
26099
+ "modifiers": {
26100
+ "background": {
26101
+ "token": "surfaceSecondary"
26102
+ },
26103
+ "cornerRadius": 8,
26104
+ "padding": {
26105
+ "leading": 12,
26106
+ "trailing": 8,
26107
+ "top": 6,
26108
+ "bottom": 6
26109
+ },
26110
+ "fillMaxWidth": true,
26111
+ "hiddenPath": "$service:himiStoreProduct.notAdded"
26112
+ }
25752
26113
  }
25753
26114
  ]
25754
26115
  }