@wix/himalaya-cli 0.1028.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 (89) hide show
  1. package/dist/cli.mjs +146 -36
  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 +590 -217
  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/dev/index.ts +22 -27
  12. package/templates/beauty-salon-owner/tier5-src/_shared/aria-chat.ts +23 -3
  13. package/templates/beauty-salon-owner/tier5-src/_shared/collection-contract.ts +4 -1
  14. package/templates/branded-lite/dev/index.ts +731 -232
  15. package/templates/branded-lite/tier5-src/_shared/collection-contract.ts +4 -1
  16. package/templates/branded-lite/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  17. package/templates/branded-lite/tier5-src/himi-branded-lite-notifsettings/index.ts +11 -6
  18. package/templates/branded-lite/tier5-src/himi-branded-lite-reviews/index.ts +11 -6
  19. package/templates/branded-lite/tier5-src/himi-store-product/index.ts +36 -5
  20. package/templates/branded-lite/tier5-src/wix-spaces-app-language/index.ts +4 -2
  21. package/templates/community-club/dev/index.ts +451 -204
  22. package/templates/community-club/tier5-src/_shared/collection-contract.ts +4 -1
  23. package/templates/community-club/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  24. package/templates/community-club/tier5-src/wix-spaces-app-language/index.ts +4 -2
  25. package/templates/community-club-owner/dev/index.ts +22 -27
  26. package/templates/community-club-owner/tier5-src/_shared/aria-chat.ts +23 -3
  27. package/templates/community-club-owner/tier5-src/_shared/collection-contract.ts +4 -1
  28. package/templates/events-meetups/dev/index.ts +451 -204
  29. package/templates/events-meetups/tier5-src/_shared/collection-contract.ts +4 -1
  30. package/templates/events-meetups/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  31. package/templates/events-meetups/tier5-src/wix-spaces-app-language/index.ts +4 -2
  32. package/templates/events-meetups-owner/dev/index.ts +22 -27
  33. package/templates/events-meetups-owner/tier5-src/_shared/aria-chat.ts +23 -3
  34. package/templates/events-meetups-owner/tier5-src/_shared/collection-contract.ts +4 -1
  35. package/templates/gym-fitness/dev/index.ts +590 -217
  36. package/templates/gym-fitness/tier5-src/_shared/collection-contract.ts +4 -1
  37. package/templates/gym-fitness/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  38. package/templates/gym-fitness/tier5-src/himi-store-product/index.ts +36 -5
  39. package/templates/gym-fitness/tier5-src/wix-spaces-app-language/index.ts +4 -2
  40. package/templates/gym-fitness-owner/dev/index.ts +22 -27
  41. package/templates/gym-fitness-owner/tier5-src/_shared/aria-chat.ts +23 -3
  42. package/templates/gym-fitness-owner/tier5-src/_shared/collection-contract.ts +4 -1
  43. package/templates/nonprofit-cause/dev/index.ts +451 -204
  44. package/templates/nonprofit-cause/tier5-src/_shared/collection-contract.ts +4 -1
  45. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  46. package/templates/nonprofit-cause/tier5-src/wix-spaces-app-language/index.ts +4 -2
  47. package/templates/nonprofit-cause-owner/dev/index.ts +22 -27
  48. package/templates/nonprofit-cause-owner/tier5-src/_shared/aria-chat.ts +23 -3
  49. package/templates/nonprofit-cause-owner/tier5-src/_shared/collection-contract.ts +4 -1
  50. package/templates/owner-lite/dev/index.ts +22 -27
  51. package/templates/owner-lite/tier5-src/_shared/aria-chat.ts +23 -3
  52. package/templates/owner-lite/tier5-src/_shared/collection-contract.ts +4 -1
  53. package/templates/podcast-creator/dev/index.ts +451 -204
  54. package/templates/podcast-creator/tier5-src/_shared/collection-contract.ts +4 -1
  55. package/templates/podcast-creator/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  56. package/templates/podcast-creator/tier5-src/wix-spaces-app-language/index.ts +4 -2
  57. package/templates/podcast-creator-owner/dev/index.ts +22 -27
  58. package/templates/podcast-creator-owner/tier5-src/_shared/aria-chat.ts +23 -3
  59. package/templates/podcast-creator-owner/tier5-src/_shared/collection-contract.ts +4 -1
  60. package/templates/portfolio-creative/dev/index.ts +575 -214
  61. package/templates/portfolio-creative/tier5-src/_shared/collection-contract.ts +4 -1
  62. package/templates/portfolio-creative/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  63. package/templates/portfolio-creative/tier5-src/himi-store-product/index.ts +36 -5
  64. package/templates/portfolio-creative/tier5-src/wix-spaces-app-language/index.ts +4 -2
  65. package/templates/portfolio-creative-owner/dev/index.ts +22 -27
  66. package/templates/portfolio-creative-owner/tier5-src/_shared/aria-chat.ts +23 -3
  67. package/templates/portfolio-creative-owner/tier5-src/_shared/collection-contract.ts +4 -1
  68. package/templates/restaurant/dev/index.ts +451 -204
  69. package/templates/restaurant/tier5-src/_shared/collection-contract.ts +4 -1
  70. package/templates/restaurant/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  71. package/templates/restaurant/tier5-src/wix-spaces-app-language/index.ts +4 -2
  72. package/templates/restaurant-owner/dev/index.ts +22 -27
  73. package/templates/restaurant-owner/tier5-src/_shared/aria-chat.ts +23 -3
  74. package/templates/restaurant-owner/tier5-src/_shared/collection-contract.ts +4 -1
  75. package/templates/retail-store/dev/index.ts +575 -214
  76. package/templates/retail-store/tier5-src/_shared/collection-contract.ts +4 -1
  77. package/templates/retail-store/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  78. package/templates/retail-store/tier5-src/himi-store-product/index.ts +36 -5
  79. package/templates/retail-store/tier5-src/wix-spaces-app-language/index.ts +4 -2
  80. package/templates/retail-store-owner/dev/index.ts +22 -27
  81. package/templates/retail-store-owner/tier5-src/_shared/aria-chat.ts +23 -3
  82. package/templates/retail-store-owner/tier5-src/_shared/collection-contract.ts +4 -1
  83. package/templates/yoga-studio/dev/index.ts +466 -205
  84. package/templates/yoga-studio/tier5-src/_shared/collection-contract.ts +4 -1
  85. package/templates/yoga-studio/tier5-src/himi-branded-lite-appearance/index.ts +12 -1
  86. package/templates/yoga-studio/tier5-src/wix-spaces-app-language/index.ts +4 -2
  87. package/templates/yoga-studio-owner/dev/index.ts +22 -27
  88. package/templates/yoga-studio-owner/tier5-src/_shared/aria-chat.ts +23 -3
  89. package/templates/yoga-studio-owner/tier5-src/_shared/collection-contract.ts +4 -1
@@ -144,10 +144,22 @@ const SCREENS = runtimeSetting({
144
144
  }
145
145
  },
146
146
  "cornerRadius": 8,
147
- "hiddenPath": "$service:himiBrandedHome.hideHeroSkeleton",
148
- "padding": {
149
- "bottom": 16
147
+ "hiddenPath": "$service:himiBrandedHome.hideHeroSkeleton"
148
+ }
149
+ },
150
+ {
151
+ "id": "himi_branded_home.training.hero_skeleton.gap",
152
+ "body": {
153
+ "package": "himalaya",
154
+ "type": "VStack",
155
+ "props": {
156
+ "children": []
150
157
  }
158
+ },
159
+ "modifiers": {
160
+ "height": 16,
161
+ "fillMaxWidth": true,
162
+ "hiddenPath": "$service:himiBrandedHome.hideHeroSkeleton"
151
163
  }
152
164
  },
153
165
  {
@@ -4555,18 +4567,6 @@ const SCREENS = runtimeSetting({
4555
4567
  "style": "title3"
4556
4568
  }
4557
4569
  }
4558
- },
4559
- {
4560
- "id": "",
4561
- "body": {
4562
- "package": "himalaya",
4563
- "type": "Text",
4564
- "props": {
4565
- "text": "Tint the brand surfaces.",
4566
- "style": "footnote",
4567
- "color": "textSecondary"
4568
- }
4569
- }
4570
4570
  }
4571
4571
  ]
4572
4572
  }
@@ -4578,218 +4578,506 @@ const SCREENS = runtimeSetting({
4578
4578
  "package": "himalaya",
4579
4579
  "type": "Grid",
4580
4580
  "props": {
4581
- "columns": 6,
4581
+ "columns": 3,
4582
4582
  "columnsMedium": 6,
4583
4583
  "spacing": 12,
4584
4584
  "items": [
4585
4585
  {
4586
- "id": "himi_appearance.accent.brand",
4586
+ "id": "himi_appearance.accent_option.brand",
4587
4587
  "body": {
4588
4588
  "package": "himalaya",
4589
- "type": "ZStack",
4589
+ "type": "VStack",
4590
4590
  "props": {
4591
+ "spacing": 8,
4591
4592
  "alignment": "center",
4592
- "children": []
4593
+ "children": [
4594
+ {
4595
+ "id": "himi_appearance.accent.brand",
4596
+ "body": {
4597
+ "package": "himalaya",
4598
+ "type": "ZStack",
4599
+ "props": {
4600
+ "alignment": "center",
4601
+ "children": [
4602
+ {
4603
+ "id": "",
4604
+ "body": {
4605
+ "package": "himalaya",
4606
+ "type": "Icon",
4607
+ "props": {
4608
+ "name": "check",
4609
+ "size": 20,
4610
+ "tint": "textOnAccent"
4611
+ }
4612
+ },
4613
+ "modifiers": {
4614
+ "accessibilityRole": "decorative",
4615
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
4616
+ }
4617
+ }
4618
+ ]
4619
+ }
4620
+ },
4621
+ "modifiers": {
4622
+ "width": 46,
4623
+ "height": 46,
4624
+ "cornerRadius": 23,
4625
+ "background": {
4626
+ "token": "accentPrimary"
4627
+ },
4628
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4629
+ "border": {
4630
+ "width": 2,
4631
+ "color": {
4632
+ "token": "border"
4633
+ }
4634
+ }
4635
+ }
4636
+ },
4637
+ {
4638
+ "id": "himi_appearance.accent_radio.brand",
4639
+ "body": {
4640
+ "package": "himalaya",
4641
+ "type": "SelectionControl",
4642
+ "props": {
4643
+ "kind": "radio",
4644
+ "groupId": "himi_appearance.accent",
4645
+ "label": "Brand",
4646
+ "valuePath": "$service:himiBrandedAppearance.selected_brand",
4647
+ "onChange": {
4648
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4649
+ "params": {
4650
+ "id": "brand"
4651
+ }
4652
+ }
4653
+ }
4654
+ }
4655
+ }
4656
+ ]
4593
4657
  }
4594
4658
  },
4595
4659
  "modifiers": {
4596
- "width": 46,
4597
- "height": 46,
4598
- "cornerRadius": 23,
4599
- "background": {
4600
- "token": "accentPrimary"
4601
- },
4602
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4603
- "border": {
4604
- "width": 2,
4605
- "color": {
4606
- "token": "border"
4607
- }
4608
- },
4609
- "onTap": {
4610
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4611
- "params": {
4612
- "id": "brand"
4613
- }
4614
- },
4615
- "pressFeedback": "scale",
4616
- "haptic": "light",
4617
- "accessibilityLabel": "brand"
4660
+ "padding": {
4661
+ "top": 6,
4662
+ "bottom": 6,
4663
+ "leading": 4,
4664
+ "trailing": 4
4665
+ }
4618
4666
  }
4619
4667
  },
4620
4668
  {
4621
- "id": "himi_appearance.accent.amber",
4669
+ "id": "himi_appearance.accent_option.amber",
4622
4670
  "body": {
4623
4671
  "package": "himalaya",
4624
- "type": "ZStack",
4672
+ "type": "VStack",
4625
4673
  "props": {
4674
+ "spacing": 8,
4626
4675
  "alignment": "center",
4627
- "children": []
4676
+ "children": [
4677
+ {
4678
+ "id": "himi_appearance.accent.amber",
4679
+ "body": {
4680
+ "package": "himalaya",
4681
+ "type": "ZStack",
4682
+ "props": {
4683
+ "alignment": "center",
4684
+ "children": [
4685
+ {
4686
+ "id": "",
4687
+ "body": {
4688
+ "package": "himalaya",
4689
+ "type": "Icon",
4690
+ "props": {
4691
+ "name": "check",
4692
+ "size": 20,
4693
+ "tint": "textOnAccent"
4694
+ }
4695
+ },
4696
+ "modifiers": {
4697
+ "accessibilityRole": "decorative",
4698
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
4699
+ }
4700
+ }
4701
+ ]
4702
+ }
4703
+ },
4704
+ "modifiers": {
4705
+ "width": 46,
4706
+ "height": 46,
4707
+ "cornerRadius": 23,
4708
+ "background": {
4709
+ "token": "accentPrimary"
4710
+ },
4711
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4712
+ "border": {
4713
+ "width": 2,
4714
+ "color": {
4715
+ "token": "border"
4716
+ }
4717
+ }
4718
+ }
4719
+ },
4720
+ {
4721
+ "id": "himi_appearance.accent_radio.amber",
4722
+ "body": {
4723
+ "package": "himalaya",
4724
+ "type": "SelectionControl",
4725
+ "props": {
4726
+ "kind": "radio",
4727
+ "groupId": "himi_appearance.accent",
4728
+ "label": "Amber",
4729
+ "valuePath": "$service:himiBrandedAppearance.selected_amber",
4730
+ "onChange": {
4731
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4732
+ "params": {
4733
+ "id": "amber"
4734
+ }
4735
+ }
4736
+ }
4737
+ }
4738
+ }
4739
+ ]
4628
4740
  }
4629
4741
  },
4630
4742
  "modifiers": {
4631
- "width": 46,
4632
- "height": 46,
4633
- "cornerRadius": 23,
4634
- "background": {
4635
- "token": "accentPrimary"
4636
- },
4637
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4638
- "border": {
4639
- "width": 2,
4640
- "color": {
4641
- "token": "border"
4642
- }
4643
- },
4644
- "onTap": {
4645
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4646
- "params": {
4647
- "id": "amber"
4648
- }
4649
- },
4650
- "pressFeedback": "scale",
4651
- "haptic": "light",
4652
- "accessibilityLabel": "amber"
4743
+ "padding": {
4744
+ "top": 6,
4745
+ "bottom": 6,
4746
+ "leading": 4,
4747
+ "trailing": 4
4748
+ }
4653
4749
  }
4654
4750
  },
4655
4751
  {
4656
- "id": "himi_appearance.accent.terracotta",
4752
+ "id": "himi_appearance.accent_option.terracotta",
4657
4753
  "body": {
4658
4754
  "package": "himalaya",
4659
- "type": "ZStack",
4755
+ "type": "VStack",
4660
4756
  "props": {
4757
+ "spacing": 8,
4661
4758
  "alignment": "center",
4662
- "children": []
4759
+ "children": [
4760
+ {
4761
+ "id": "himi_appearance.accent.terracotta",
4762
+ "body": {
4763
+ "package": "himalaya",
4764
+ "type": "ZStack",
4765
+ "props": {
4766
+ "alignment": "center",
4767
+ "children": [
4768
+ {
4769
+ "id": "",
4770
+ "body": {
4771
+ "package": "himalaya",
4772
+ "type": "Icon",
4773
+ "props": {
4774
+ "name": "check",
4775
+ "size": 20,
4776
+ "tint": "textOnAccent"
4777
+ }
4778
+ },
4779
+ "modifiers": {
4780
+ "accessibilityRole": "decorative",
4781
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
4782
+ }
4783
+ }
4784
+ ]
4785
+ }
4786
+ },
4787
+ "modifiers": {
4788
+ "width": 46,
4789
+ "height": 46,
4790
+ "cornerRadius": 23,
4791
+ "background": {
4792
+ "token": "accentPrimary"
4793
+ },
4794
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4795
+ "border": {
4796
+ "width": 2,
4797
+ "color": {
4798
+ "token": "border"
4799
+ }
4800
+ }
4801
+ }
4802
+ },
4803
+ {
4804
+ "id": "himi_appearance.accent_radio.terracotta",
4805
+ "body": {
4806
+ "package": "himalaya",
4807
+ "type": "SelectionControl",
4808
+ "props": {
4809
+ "kind": "radio",
4810
+ "groupId": "himi_appearance.accent",
4811
+ "label": "Terracotta",
4812
+ "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
4813
+ "onChange": {
4814
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4815
+ "params": {
4816
+ "id": "terracotta"
4817
+ }
4818
+ }
4819
+ }
4820
+ }
4821
+ }
4822
+ ]
4663
4823
  }
4664
4824
  },
4665
4825
  "modifiers": {
4666
- "width": 46,
4667
- "height": 46,
4668
- "cornerRadius": 23,
4669
- "background": {
4670
- "token": "accentPrimary"
4671
- },
4672
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4673
- "border": {
4674
- "width": 2,
4675
- "color": {
4676
- "token": "border"
4677
- }
4678
- },
4679
- "onTap": {
4680
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4681
- "params": {
4682
- "id": "terracotta"
4683
- }
4684
- },
4685
- "pressFeedback": "scale",
4686
- "haptic": "light",
4687
- "accessibilityLabel": "terracotta"
4826
+ "padding": {
4827
+ "top": 6,
4828
+ "bottom": 6,
4829
+ "leading": 4,
4830
+ "trailing": 4
4831
+ }
4688
4832
  }
4689
4833
  },
4690
4834
  {
4691
- "id": "himi_appearance.accent.sage",
4835
+ "id": "himi_appearance.accent_option.sage",
4692
4836
  "body": {
4693
4837
  "package": "himalaya",
4694
- "type": "ZStack",
4838
+ "type": "VStack",
4695
4839
  "props": {
4840
+ "spacing": 8,
4696
4841
  "alignment": "center",
4697
- "children": []
4842
+ "children": [
4843
+ {
4844
+ "id": "himi_appearance.accent.sage",
4845
+ "body": {
4846
+ "package": "himalaya",
4847
+ "type": "ZStack",
4848
+ "props": {
4849
+ "alignment": "center",
4850
+ "children": [
4851
+ {
4852
+ "id": "",
4853
+ "body": {
4854
+ "package": "himalaya",
4855
+ "type": "Icon",
4856
+ "props": {
4857
+ "name": "check",
4858
+ "size": 20,
4859
+ "tint": "textOnAccent"
4860
+ }
4861
+ },
4862
+ "modifiers": {
4863
+ "accessibilityRole": "decorative",
4864
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
4865
+ }
4866
+ }
4867
+ ]
4868
+ }
4869
+ },
4870
+ "modifiers": {
4871
+ "width": 46,
4872
+ "height": 46,
4873
+ "cornerRadius": 23,
4874
+ "background": {
4875
+ "token": "accentPrimary"
4876
+ },
4877
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4878
+ "border": {
4879
+ "width": 2,
4880
+ "color": {
4881
+ "token": "border"
4882
+ }
4883
+ }
4884
+ }
4885
+ },
4886
+ {
4887
+ "id": "himi_appearance.accent_radio.sage",
4888
+ "body": {
4889
+ "package": "himalaya",
4890
+ "type": "SelectionControl",
4891
+ "props": {
4892
+ "kind": "radio",
4893
+ "groupId": "himi_appearance.accent",
4894
+ "label": "Sage",
4895
+ "valuePath": "$service:himiBrandedAppearance.selected_sage",
4896
+ "onChange": {
4897
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4898
+ "params": {
4899
+ "id": "sage"
4900
+ }
4901
+ }
4902
+ }
4903
+ }
4904
+ }
4905
+ ]
4906
+ }
4907
+ },
4908
+ "modifiers": {
4909
+ "padding": {
4910
+ "top": 6,
4911
+ "bottom": 6,
4912
+ "leading": 4,
4913
+ "trailing": 4
4914
+ }
4915
+ }
4916
+ },
4917
+ {
4918
+ "id": "himi_appearance.accent_option.plum",
4919
+ "body": {
4920
+ "package": "himalaya",
4921
+ "type": "VStack",
4922
+ "props": {
4923
+ "spacing": 8,
4924
+ "alignment": "center",
4925
+ "children": [
4926
+ {
4927
+ "id": "himi_appearance.accent.plum",
4928
+ "body": {
4929
+ "package": "himalaya",
4930
+ "type": "ZStack",
4931
+ "props": {
4932
+ "alignment": "center",
4933
+ "children": [
4934
+ {
4935
+ "id": "",
4936
+ "body": {
4937
+ "package": "himalaya",
4938
+ "type": "Icon",
4939
+ "props": {
4940
+ "name": "check",
4941
+ "size": 20,
4942
+ "tint": "textOnAccent"
4943
+ }
4944
+ },
4945
+ "modifiers": {
4946
+ "accessibilityRole": "decorative",
4947
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
4948
+ }
4949
+ }
4950
+ ]
4951
+ }
4952
+ },
4953
+ "modifiers": {
4954
+ "width": 46,
4955
+ "height": 46,
4956
+ "cornerRadius": 23,
4957
+ "background": {
4958
+ "token": "accentPrimary"
4959
+ },
4960
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4961
+ "border": {
4962
+ "width": 2,
4963
+ "color": {
4964
+ "token": "border"
4965
+ }
4966
+ }
4967
+ }
4968
+ },
4969
+ {
4970
+ "id": "himi_appearance.accent_radio.plum",
4971
+ "body": {
4972
+ "package": "himalaya",
4973
+ "type": "SelectionControl",
4974
+ "props": {
4975
+ "kind": "radio",
4976
+ "groupId": "himi_appearance.accent",
4977
+ "label": "Plum",
4978
+ "valuePath": "$service:himiBrandedAppearance.selected_plum",
4979
+ "onChange": {
4980
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
4981
+ "params": {
4982
+ "id": "plum"
4983
+ }
4984
+ }
4985
+ }
4986
+ }
4987
+ }
4988
+ ]
4698
4989
  }
4699
4990
  },
4700
4991
  "modifiers": {
4701
- "width": 46,
4702
- "height": 46,
4703
- "cornerRadius": 23,
4704
- "background": {
4705
- "token": "accentPrimary"
4706
- },
4707
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4708
- "border": {
4709
- "width": 2,
4710
- "color": {
4711
- "token": "border"
4712
- }
4713
- },
4714
- "onTap": {
4715
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4716
- "params": {
4717
- "id": "sage"
4718
- }
4719
- },
4720
- "pressFeedback": "scale",
4721
- "haptic": "light",
4722
- "accessibilityLabel": "sage"
4723
- }
4724
- },
4725
- {
4726
- "id": "himi_appearance.accent.plum",
4727
- "body": {
4728
- "package": "himalaya",
4729
- "type": "ZStack",
4730
- "props": {
4731
- "alignment": "center",
4732
- "children": []
4992
+ "padding": {
4993
+ "top": 6,
4994
+ "bottom": 6,
4995
+ "leading": 4,
4996
+ "trailing": 4
4733
4997
  }
4734
- },
4735
- "modifiers": {
4736
- "width": 46,
4737
- "height": 46,
4738
- "cornerRadius": 23,
4739
- "background": {
4740
- "token": "accentPrimary"
4741
- },
4742
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4743
- "border": {
4744
- "width": 2,
4745
- "color": {
4746
- "token": "border"
4747
- }
4748
- },
4749
- "onTap": {
4750
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4751
- "params": {
4752
- "id": "plum"
4753
- }
4754
- },
4755
- "pressFeedback": "scale",
4756
- "haptic": "light",
4757
- "accessibilityLabel": "plum"
4758
4998
  }
4759
4999
  },
4760
5000
  {
4761
- "id": "himi_appearance.accent.ocean",
5001
+ "id": "himi_appearance.accent_option.ocean",
4762
5002
  "body": {
4763
5003
  "package": "himalaya",
4764
- "type": "ZStack",
5004
+ "type": "VStack",
4765
5005
  "props": {
5006
+ "spacing": 8,
4766
5007
  "alignment": "center",
4767
- "children": []
5008
+ "children": [
5009
+ {
5010
+ "id": "himi_appearance.accent.ocean",
5011
+ "body": {
5012
+ "package": "himalaya",
5013
+ "type": "ZStack",
5014
+ "props": {
5015
+ "alignment": "center",
5016
+ "children": [
5017
+ {
5018
+ "id": "",
5019
+ "body": {
5020
+ "package": "himalaya",
5021
+ "type": "Icon",
5022
+ "props": {
5023
+ "name": "check",
5024
+ "size": 20,
5025
+ "tint": "textOnAccent"
5026
+ }
5027
+ },
5028
+ "modifiers": {
5029
+ "accessibilityRole": "decorative",
5030
+ "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
5031
+ }
5032
+ }
5033
+ ]
5034
+ }
5035
+ },
5036
+ "modifiers": {
5037
+ "width": 46,
5038
+ "height": 46,
5039
+ "cornerRadius": 23,
5040
+ "background": {
5041
+ "token": "accentPrimary"
5042
+ },
5043
+ "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
5044
+ "border": {
5045
+ "width": 2,
5046
+ "color": {
5047
+ "token": "border"
5048
+ }
5049
+ }
5050
+ }
5051
+ },
5052
+ {
5053
+ "id": "himi_appearance.accent_radio.ocean",
5054
+ "body": {
5055
+ "package": "himalaya",
5056
+ "type": "SelectionControl",
5057
+ "props": {
5058
+ "kind": "radio",
5059
+ "groupId": "himi_appearance.accent",
5060
+ "label": "Ocean",
5061
+ "valuePath": "$service:himiBrandedAppearance.selected_ocean",
5062
+ "onChange": {
5063
+ "actionId": "tier5.himiBrandedAppearance.selectAccent",
5064
+ "params": {
5065
+ "id": "ocean"
5066
+ }
5067
+ }
5068
+ }
5069
+ }
5070
+ }
5071
+ ]
4768
5072
  }
4769
5073
  },
4770
5074
  "modifiers": {
4771
- "width": 46,
4772
- "height": 46,
4773
- "cornerRadius": 23,
4774
- "background": {
4775
- "token": "accentPrimary"
4776
- },
4777
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4778
- "border": {
4779
- "width": 2,
4780
- "color": {
4781
- "token": "border"
4782
- }
4783
- },
4784
- "onTap": {
4785
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4786
- "params": {
4787
- "id": "ocean"
4788
- }
4789
- },
4790
- "pressFeedback": "scale",
4791
- "haptic": "light",
4792
- "accessibilityLabel": "ocean"
5075
+ "padding": {
5076
+ "top": 6,
5077
+ "bottom": 6,
5078
+ "leading": 4,
5079
+ "trailing": 4
5080
+ }
4793
5081
  }
4794
5082
  }
4795
5083
  ]
@@ -5289,41 +5577,21 @@ const SCREENS = runtimeSetting({
5289
5577
  "spacing": 12,
5290
5578
  "children": [
5291
5579
  {
5292
- "id": "",
5580
+ "id": "himi_app_language.option.$item.id",
5293
5581
  "body": {
5294
5582
  "package": "himalaya",
5295
- "type": "VStack",
5583
+ "type": "SelectionControl",
5296
5584
  "props": {
5297
- "spacing": 3,
5298
- "alignment": "leading",
5299
- "children": [
5300
- {
5301
- "id": "",
5302
- "body": {
5303
- "package": "himalaya",
5304
- "type": "Text",
5305
- "props": {
5306
- "text": "$item.name",
5307
- "style": "bodyEmphasis",
5308
- "maxLines": 1
5309
- }
5310
- }
5311
- },
5312
- {
5313
- "id": "",
5314
- "body": {
5315
- "package": "himalaya",
5316
- "type": "Text",
5317
- "props": {
5318
- "text": "$item.subtitle",
5319
- "style": "caption",
5320
- "color": "accentPrimary",
5321
- "maxLines": 1,
5322
- "collapseWhenEmpty": true
5323
- }
5324
- }
5585
+ "kind": "radio",
5586
+ "groupId": "himi_app_language",
5587
+ "label": "$item.name",
5588
+ "valuePath": "$item.selected",
5589
+ "onChange": {
5590
+ "actionId": "tier5.spacesAppLanguage.select",
5591
+ "params": {
5592
+ "id": "$item.id"
5325
5593
  }
5326
- ]
5594
+ }
5327
5595
  }
5328
5596
  }
5329
5597
  },
@@ -5354,16 +5622,7 @@ const SCREENS = runtimeSetting({
5354
5622
  "trailing": 12,
5355
5623
  "top": 12,
5356
5624
  "bottom": 12
5357
- },
5358
- "onTap": {
5359
- "actionId": "tier5.spacesAppLanguage.select",
5360
- "params": {
5361
- "id": "$item.id"
5362
- }
5363
- },
5364
- "pressFeedback": "scale",
5365
- "haptic": "light",
5366
- "accessibilityLabel": "$item.name"
5625
+ }
5367
5626
  }
5368
5627
  }
5369
5628
  ]
@@ -29081,6 +29340,9 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
29081
29340
  "color": "textSecondary",
29082
29341
  "collapseWhenEmpty": true
29083
29342
  }
29343
+ },
29344
+ "modifiers": {
29345
+ "hiddenPath": "$service:himiStoreProduct.added"
29084
29346
  }
29085
29347
  }
29086
29348
  ]
@@ -29196,7 +29458,7 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
29196
29458
  "package": "himalaya",
29197
29459
  "type": "VStack",
29198
29460
  "props": {
29199
- "spacing": 0,
29461
+ "spacing": 8,
29200
29462
  "children": [
29201
29463
  {
29202
29464
  "id": "himi_product.add_to_cart",
@@ -29217,6 +29479,117 @@ const TEMPLATED: { pattern: string; display: string; liveSeed?: LiveSeed; static
29217
29479
  "pressFeedback": "scale",
29218
29480
  "haptic": "medium"
29219
29481
  }
29482
+ },
29483
+ {
29484
+ "id": "himi_product.adding",
29485
+ "body": {
29486
+ "package": "himalaya",
29487
+ "type": "HStack",
29488
+ "props": {
29489
+ "spacing": 8,
29490
+ "children": [
29491
+ {
29492
+ "id": "",
29493
+ "body": {
29494
+ "package": "himalaya",
29495
+ "type": "ActivityIndicator",
29496
+ "props": {
29497
+ "indeterminate": true,
29498
+ "size": 16
29499
+ }
29500
+ }
29501
+ },
29502
+ {
29503
+ "id": "",
29504
+ "body": {
29505
+ "package": "himalaya",
29506
+ "type": "Text",
29507
+ "props": {
29508
+ "text": "Adding to cart…",
29509
+ "style": "footnote",
29510
+ "color": "textSecondary"
29511
+ }
29512
+ }
29513
+ }
29514
+ ]
29515
+ }
29516
+ },
29517
+ "modifiers": {
29518
+ "hiddenPath": "$service:himiStoreProduct.notAdding"
29519
+ }
29520
+ },
29521
+ {
29522
+ "id": "himi_product.added_confirmation",
29523
+ "body": {
29524
+ "package": "himalaya",
29525
+ "type": "HStack",
29526
+ "props": {
29527
+ "spacing": 10,
29528
+ "children": [
29529
+ {
29530
+ "id": "",
29531
+ "body": {
29532
+ "package": "himalaya",
29533
+ "type": "Icon",
29534
+ "props": {
29535
+ "name": "check",
29536
+ "size": 18,
29537
+ "tint": "success"
29538
+ }
29539
+ },
29540
+ "modifiers": {
29541
+ "accessibilityRole": "decorative"
29542
+ }
29543
+ },
29544
+ {
29545
+ "id": "",
29546
+ "body": {
29547
+ "package": "himalaya",
29548
+ "type": "Text",
29549
+ "props": {
29550
+ "text": "$service:himiStoreProduct.cartHint",
29551
+ "style": "footnote",
29552
+ "collapseWhenEmpty": true
29553
+ }
29554
+ },
29555
+ "modifiers": {
29556
+ "weight": 1
29557
+ }
29558
+ },
29559
+ {
29560
+ "id": "himi_product.view_cart",
29561
+ "body": {
29562
+ "package": "himalaya",
29563
+ "type": "Button",
29564
+ "props": {
29565
+ "title": "View cart",
29566
+ "style": "tertiary",
29567
+ "action": {
29568
+ "actionId": "himi.open",
29569
+ "params": {
29570
+ "screenId": "himi_cart"
29571
+ }
29572
+ }
29573
+ }
29574
+ }
29575
+ }
29576
+ ]
29577
+ }
29578
+ },
29579
+ "modifiers": {
29580
+ "background": {
29581
+ "token": "surfaceSecondary"
29582
+ },
29583
+ "cornerRadius": 8,
29584
+ "padding": {
29585
+ "leading": 12,
29586
+ "trailing": 8,
29587
+ "top": 6,
29588
+ "bottom": 6
29589
+ },
29590
+ "fillMaxWidth": true,
29591
+ "hiddenPath": "$service:himiStoreProduct.notAdded"
29592
+ }
29220
29593
  }
29221
29594
  ]
29222
29595
  }