@wix/himalaya-cli 0.1288.0 → 0.1290.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 (47) hide show
  1. package/dist/cli.mjs +32 -28
  2. package/dist/preview-assets.generated.bin +0 -0
  3. package/package.json +2 -2
  4. package/templates/beauty-salon/dev/index.ts +83 -478
  5. package/templates/beauty-salon/tier5-src/_shared/himi-layouts.ts +13 -34
  6. package/templates/beauty-salon/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  7. package/templates/beauty-salon/tier5-src/himi-branded-lite-home/index.ts +1 -17
  8. package/templates/branded-lite/dev/index.ts +83 -479
  9. package/templates/branded-lite/tier5-src/_shared/himi-layouts.ts +13 -34
  10. package/templates/branded-lite/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  11. package/templates/branded-lite/tier5-src/himi-branded-lite-home/index.ts +1 -17
  12. package/templates/community-club/dev/index.ts +83 -479
  13. package/templates/community-club/tier5-src/_shared/himi-layouts.ts +13 -34
  14. package/templates/community-club/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  15. package/templates/community-club/tier5-src/himi-branded-lite-home/index.ts +1 -17
  16. package/templates/events-meetups/dev/index.ts +83 -479
  17. package/templates/events-meetups/tier5-src/_shared/himi-layouts.ts +13 -34
  18. package/templates/events-meetups/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  19. package/templates/events-meetups/tier5-src/himi-branded-lite-home/index.ts +1 -17
  20. package/templates/gym-fitness/dev/index.ts +83 -478
  21. package/templates/gym-fitness/tier5-src/_shared/himi-layouts.ts +13 -34
  22. package/templates/gym-fitness/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  23. package/templates/gym-fitness/tier5-src/himi-branded-lite-home/index.ts +1 -17
  24. package/templates/nonprofit-cause/dev/index.ts +83 -479
  25. package/templates/nonprofit-cause/tier5-src/_shared/himi-layouts.ts +13 -34
  26. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  27. package/templates/nonprofit-cause/tier5-src/himi-branded-lite-home/index.ts +1 -17
  28. package/templates/podcast-creator/dev/index.ts +83 -479
  29. package/templates/podcast-creator/tier5-src/_shared/himi-layouts.ts +13 -34
  30. package/templates/podcast-creator/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  31. package/templates/podcast-creator/tier5-src/himi-branded-lite-home/index.ts +1 -17
  32. package/templates/portfolio-creative/dev/index.ts +83 -478
  33. package/templates/portfolio-creative/tier5-src/_shared/himi-layouts.ts +13 -34
  34. package/templates/portfolio-creative/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  35. package/templates/portfolio-creative/tier5-src/himi-branded-lite-home/index.ts +1 -17
  36. package/templates/restaurant/dev/index.ts +83 -478
  37. package/templates/restaurant/tier5-src/_shared/himi-layouts.ts +13 -34
  38. package/templates/restaurant/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  39. package/templates/restaurant/tier5-src/himi-branded-lite-home/index.ts +1 -17
  40. package/templates/retail-store/dev/index.ts +83 -478
  41. package/templates/retail-store/tier5-src/_shared/himi-layouts.ts +13 -34
  42. package/templates/retail-store/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  43. package/templates/retail-store/tier5-src/himi-branded-lite-home/index.ts +1 -17
  44. package/templates/yoga-studio/dev/index.ts +83 -478
  45. package/templates/yoga-studio/tier5-src/_shared/himi-layouts.ts +13 -34
  46. package/templates/yoga-studio/tier5-src/himi-branded-lite-appearance/index.ts +58 -77
  47. package/templates/yoga-studio/tier5-src/himi-branded-lite-home/index.ts +1 -17
@@ -4570,588 +4570,193 @@ const SCREENS = runtimeSetting({
4570
4570
  }
4571
4571
  },
4572
4572
  {
4573
- "id": "",
4573
+ "id": "himi_appearance.theme_title",
4574
4574
  "body": {
4575
4575
  "package": "himalaya",
4576
4576
  "type": "Text",
4577
4577
  "props": {
4578
- "text": "Tint the brand surfaces with your accent color.",
4579
- "style": "body",
4580
- "color": "textSecondary"
4578
+ "text": "Choose the app color theme",
4579
+ "style": "body"
4581
4580
  }
4582
4581
  }
4583
4582
  },
4584
4583
  {
4585
- "id": "",
4584
+ "id": "himi_appearance.themes",
4586
4585
  "body": {
4587
4586
  "package": "himalaya",
4588
4587
  "type": "VStack",
4589
4588
  "props": {
4590
- "spacing": 3,
4589
+ "spacing": 10,
4591
4590
  "alignment": "leading",
4592
4591
  "children": [
4593
4592
  {
4594
- "id": "",
4595
- "body": {
4596
- "package": "himalaya",
4597
- "type": "Text",
4598
- "props": {
4599
- "text": "Accent",
4600
- "style": "title3"
4601
- }
4602
- }
4603
- }
4604
- ]
4605
- }
4606
- }
4607
- },
4608
- {
4609
- "id": "himi_appearance.accents",
4610
- "body": {
4611
- "package": "himalaya",
4612
- "type": "Grid",
4613
- "props": {
4614
- "columns": 3,
4615
- "columnsMedium": 6,
4616
- "spacing": 12,
4617
- "items": [
4618
- {
4619
- "id": "himi_appearance.accent_option.brand",
4593
+ "id": "himi_appearance.theme_option.system",
4620
4594
  "body": {
4621
4595
  "package": "himalaya",
4622
- "type": "VStack",
4596
+ "type": "HStack",
4623
4597
  "props": {
4624
- "spacing": 8,
4625
- "alignment": "center",
4598
+ "spacing": 12,
4626
4599
  "children": [
4627
4600
  {
4628
- "id": "himi_appearance.accent.brand",
4629
- "body": {
4630
- "package": "himalaya",
4631
- "type": "ZStack",
4632
- "props": {
4633
- "alignment": "center",
4634
- "children": [
4635
- {
4636
- "id": "",
4637
- "body": {
4638
- "package": "himalaya",
4639
- "type": "Icon",
4640
- "props": {
4641
- "name": "check",
4642
- "size": 20,
4643
- "tint": "textOnAccent"
4644
- }
4645
- },
4646
- "modifiers": {
4647
- "accessibilityRole": "decorative",
4648
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
4649
- }
4650
- }
4651
- ]
4652
- }
4653
- },
4654
- "modifiers": {
4655
- "width": 46,
4656
- "height": 46,
4657
- "cornerRadius": 23,
4658
- "background": {
4659
- "token": "accentPrimary"
4660
- },
4661
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4662
- "border": {
4663
- "width": 2,
4664
- "color": {
4665
- "token": "border"
4666
- }
4667
- }
4668
- }
4669
- },
4670
- {
4671
- "id": "himi_appearance.accent_radio.brand",
4601
+ "id": "himi_appearance.theme_radio.system",
4672
4602
  "body": {
4673
4603
  "package": "himalaya",
4674
4604
  "type": "SelectionControl",
4675
4605
  "props": {
4676
4606
  "kind": "radio",
4677
- "groupId": "himi_appearance.accent",
4678
- "label": "Brand",
4679
- "valuePath": "$service:himiBrandedAppearance.selected_brand",
4607
+ "groupId": "himi_appearance.theme",
4608
+ "label": "System default",
4609
+ "valuePath": "$service:himiBrandedAppearance.selected_system",
4680
4610
  "onChange": {
4681
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4611
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
4682
4612
  "params": {
4683
- "id": "brand"
4684
- }
4685
- }
4686
- }
4687
- }
4688
- }
4689
- ]
4690
- }
4691
- },
4692
- "modifiers": {
4693
- "padding": {
4694
- "top": 6,
4695
- "bottom": 6,
4696
- "leading": 4,
4697
- "trailing": 4
4698
- }
4699
- }
4700
- },
4701
- {
4702
- "id": "himi_appearance.accent_option.amber",
4703
- "body": {
4704
- "package": "himalaya",
4705
- "type": "VStack",
4706
- "props": {
4707
- "spacing": 8,
4708
- "alignment": "center",
4709
- "children": [
4710
- {
4711
- "id": "himi_appearance.accent.amber",
4712
- "body": {
4713
- "package": "himalaya",
4714
- "type": "ZStack",
4715
- "props": {
4716
- "alignment": "center",
4717
- "children": [
4718
- {
4719
- "id": "",
4720
- "body": {
4721
- "package": "himalaya",
4722
- "type": "Icon",
4723
- "props": {
4724
- "name": "check",
4725
- "size": 20,
4726
- "tint": "textOnAccent"
4727
- }
4728
- },
4729
- "modifiers": {
4730
- "accessibilityRole": "decorative",
4731
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
4732
- }
4613
+ "id": "system"
4733
4614
  }
4734
- ]
4735
- }
4736
- },
4737
- "modifiers": {
4738
- "width": 46,
4739
- "height": 46,
4740
- "cornerRadius": 23,
4741
- "background": {
4742
- "token": "accentPrimary"
4743
- },
4744
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4745
- "border": {
4746
- "width": 2,
4747
- "color": {
4748
- "token": "border"
4749
4615
  }
4750
4616
  }
4751
4617
  }
4752
4618
  },
4753
4619
  {
4754
- "id": "himi_appearance.accent_radio.amber",
4620
+ "id": "",
4755
4621
  "body": {
4756
4622
  "package": "himalaya",
4757
- "type": "SelectionControl",
4758
- "props": {
4759
- "kind": "radio",
4760
- "groupId": "himi_appearance.accent",
4761
- "label": "Amber",
4762
- "valuePath": "$service:himiBrandedAppearance.selected_amber",
4763
- "onChange": {
4764
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4765
- "params": {
4766
- "id": "amber"
4767
- }
4768
- }
4769
- }
4623
+ "type": "Spacer",
4624
+ "props": {}
4770
4625
  }
4771
4626
  }
4772
4627
  ]
4773
4628
  }
4774
4629
  },
4775
4630
  "modifiers": {
4631
+ "background": {
4632
+ "token": "surfaceElevated"
4633
+ },
4634
+ "border": {
4635
+ "width": 1,
4636
+ "color": {
4637
+ "token": "border"
4638
+ }
4639
+ },
4640
+ "cornerRadius": 8,
4776
4641
  "padding": {
4777
- "top": 6,
4778
- "bottom": 6,
4779
- "leading": 4,
4780
- "trailing": 4
4642
+ "leading": 12,
4643
+ "trailing": 12,
4644
+ "top": 12,
4645
+ "bottom": 12
4781
4646
  }
4782
4647
  }
4783
4648
  },
4784
4649
  {
4785
- "id": "himi_appearance.accent_option.terracotta",
4650
+ "id": "himi_appearance.theme_option.light",
4786
4651
  "body": {
4787
4652
  "package": "himalaya",
4788
- "type": "VStack",
4653
+ "type": "HStack",
4789
4654
  "props": {
4790
- "spacing": 8,
4791
- "alignment": "center",
4655
+ "spacing": 12,
4792
4656
  "children": [
4793
4657
  {
4794
- "id": "himi_appearance.accent.terracotta",
4795
- "body": {
4796
- "package": "himalaya",
4797
- "type": "ZStack",
4798
- "props": {
4799
- "alignment": "center",
4800
- "children": [
4801
- {
4802
- "id": "",
4803
- "body": {
4804
- "package": "himalaya",
4805
- "type": "Icon",
4806
- "props": {
4807
- "name": "check",
4808
- "size": 20,
4809
- "tint": "textOnAccent"
4810
- }
4811
- },
4812
- "modifiers": {
4813
- "accessibilityRole": "decorative",
4814
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
4815
- }
4816
- }
4817
- ]
4818
- }
4819
- },
4820
- "modifiers": {
4821
- "width": 46,
4822
- "height": 46,
4823
- "cornerRadius": 23,
4824
- "background": {
4825
- "token": "accentPrimary"
4826
- },
4827
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4828
- "border": {
4829
- "width": 2,
4830
- "color": {
4831
- "token": "border"
4832
- }
4833
- }
4834
- }
4835
- },
4836
- {
4837
- "id": "himi_appearance.accent_radio.terracotta",
4658
+ "id": "himi_appearance.theme_radio.light",
4838
4659
  "body": {
4839
4660
  "package": "himalaya",
4840
4661
  "type": "SelectionControl",
4841
4662
  "props": {
4842
4663
  "kind": "radio",
4843
- "groupId": "himi_appearance.accent",
4844
- "label": "Terracotta",
4845
- "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
4664
+ "groupId": "himi_appearance.theme",
4665
+ "label": "Light",
4666
+ "valuePath": "$service:himiBrandedAppearance.selected_light",
4846
4667
  "onChange": {
4847
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4668
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
4848
4669
  "params": {
4849
- "id": "terracotta"
4850
- }
4851
- }
4852
- }
4853
- }
4854
- }
4855
- ]
4856
- }
4857
- },
4858
- "modifiers": {
4859
- "padding": {
4860
- "top": 6,
4861
- "bottom": 6,
4862
- "leading": 4,
4863
- "trailing": 4
4864
- }
4865
- }
4866
- },
4867
- {
4868
- "id": "himi_appearance.accent_option.sage",
4869
- "body": {
4870
- "package": "himalaya",
4871
- "type": "VStack",
4872
- "props": {
4873
- "spacing": 8,
4874
- "alignment": "center",
4875
- "children": [
4876
- {
4877
- "id": "himi_appearance.accent.sage",
4878
- "body": {
4879
- "package": "himalaya",
4880
- "type": "ZStack",
4881
- "props": {
4882
- "alignment": "center",
4883
- "children": [
4884
- {
4885
- "id": "",
4886
- "body": {
4887
- "package": "himalaya",
4888
- "type": "Icon",
4889
- "props": {
4890
- "name": "check",
4891
- "size": 20,
4892
- "tint": "textOnAccent"
4893
- }
4894
- },
4895
- "modifiers": {
4896
- "accessibilityRole": "decorative",
4897
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
4898
- }
4670
+ "id": "light"
4899
4671
  }
4900
- ]
4901
- }
4902
- },
4903
- "modifiers": {
4904
- "width": 46,
4905
- "height": 46,
4906
- "cornerRadius": 23,
4907
- "background": {
4908
- "token": "accentPrimary"
4909
- },
4910
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4911
- "border": {
4912
- "width": 2,
4913
- "color": {
4914
- "token": "border"
4915
4672
  }
4916
4673
  }
4917
4674
  }
4918
4675
  },
4919
4676
  {
4920
- "id": "himi_appearance.accent_radio.sage",
4677
+ "id": "",
4921
4678
  "body": {
4922
4679
  "package": "himalaya",
4923
- "type": "SelectionControl",
4924
- "props": {
4925
- "kind": "radio",
4926
- "groupId": "himi_appearance.accent",
4927
- "label": "Sage",
4928
- "valuePath": "$service:himiBrandedAppearance.selected_sage",
4929
- "onChange": {
4930
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4931
- "params": {
4932
- "id": "sage"
4933
- }
4934
- }
4935
- }
4680
+ "type": "Spacer",
4681
+ "props": {}
4936
4682
  }
4937
4683
  }
4938
4684
  ]
4939
4685
  }
4940
4686
  },
4941
4687
  "modifiers": {
4688
+ "background": {
4689
+ "token": "surfaceElevated"
4690
+ },
4691
+ "border": {
4692
+ "width": 1,
4693
+ "color": {
4694
+ "token": "border"
4695
+ }
4696
+ },
4697
+ "cornerRadius": 8,
4942
4698
  "padding": {
4943
- "top": 6,
4944
- "bottom": 6,
4945
- "leading": 4,
4946
- "trailing": 4
4699
+ "leading": 12,
4700
+ "trailing": 12,
4701
+ "top": 12,
4702
+ "bottom": 12
4947
4703
  }
4948
4704
  }
4949
4705
  },
4950
4706
  {
4951
- "id": "himi_appearance.accent_option.plum",
4707
+ "id": "himi_appearance.theme_option.dark",
4952
4708
  "body": {
4953
4709
  "package": "himalaya",
4954
- "type": "VStack",
4710
+ "type": "HStack",
4955
4711
  "props": {
4956
- "spacing": 8,
4957
- "alignment": "center",
4712
+ "spacing": 12,
4958
4713
  "children": [
4959
4714
  {
4960
- "id": "himi_appearance.accent.plum",
4961
- "body": {
4962
- "package": "himalaya",
4963
- "type": "ZStack",
4964
- "props": {
4965
- "alignment": "center",
4966
- "children": [
4967
- {
4968
- "id": "",
4969
- "body": {
4970
- "package": "himalaya",
4971
- "type": "Icon",
4972
- "props": {
4973
- "name": "check",
4974
- "size": 20,
4975
- "tint": "textOnAccent"
4976
- }
4977
- },
4978
- "modifiers": {
4979
- "accessibilityRole": "decorative",
4980
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
4981
- }
4982
- }
4983
- ]
4984
- }
4985
- },
4986
- "modifiers": {
4987
- "width": 46,
4988
- "height": 46,
4989
- "cornerRadius": 23,
4990
- "background": {
4991
- "token": "accentPrimary"
4992
- },
4993
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4994
- "border": {
4995
- "width": 2,
4996
- "color": {
4997
- "token": "border"
4998
- }
4999
- }
5000
- }
5001
- },
5002
- {
5003
- "id": "himi_appearance.accent_radio.plum",
4715
+ "id": "himi_appearance.theme_radio.dark",
5004
4716
  "body": {
5005
4717
  "package": "himalaya",
5006
4718
  "type": "SelectionControl",
5007
4719
  "props": {
5008
4720
  "kind": "radio",
5009
- "groupId": "himi_appearance.accent",
5010
- "label": "Plum",
5011
- "valuePath": "$service:himiBrandedAppearance.selected_plum",
4721
+ "groupId": "himi_appearance.theme",
4722
+ "label": "Dark",
4723
+ "valuePath": "$service:himiBrandedAppearance.selected_dark",
5012
4724
  "onChange": {
5013
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4725
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
5014
4726
  "params": {
5015
- "id": "plum"
5016
- }
5017
- }
5018
- }
5019
- }
5020
- }
5021
- ]
5022
- }
5023
- },
5024
- "modifiers": {
5025
- "padding": {
5026
- "top": 6,
5027
- "bottom": 6,
5028
- "leading": 4,
5029
- "trailing": 4
5030
- }
5031
- }
5032
- },
5033
- {
5034
- "id": "himi_appearance.accent_option.ocean",
5035
- "body": {
5036
- "package": "himalaya",
5037
- "type": "VStack",
5038
- "props": {
5039
- "spacing": 8,
5040
- "alignment": "center",
5041
- "children": [
5042
- {
5043
- "id": "himi_appearance.accent.ocean",
5044
- "body": {
5045
- "package": "himalaya",
5046
- "type": "ZStack",
5047
- "props": {
5048
- "alignment": "center",
5049
- "children": [
5050
- {
5051
- "id": "",
5052
- "body": {
5053
- "package": "himalaya",
5054
- "type": "Icon",
5055
- "props": {
5056
- "name": "check",
5057
- "size": 20,
5058
- "tint": "textOnAccent"
5059
- }
5060
- },
5061
- "modifiers": {
5062
- "accessibilityRole": "decorative",
5063
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
5064
- }
4727
+ "id": "dark"
5065
4728
  }
5066
- ]
5067
- }
5068
- },
5069
- "modifiers": {
5070
- "width": 46,
5071
- "height": 46,
5072
- "cornerRadius": 23,
5073
- "background": {
5074
- "token": "accentPrimary"
5075
- },
5076
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
5077
- "border": {
5078
- "width": 2,
5079
- "color": {
5080
- "token": "border"
5081
4729
  }
5082
4730
  }
5083
4731
  }
5084
4732
  },
5085
4733
  {
5086
- "id": "himi_appearance.accent_radio.ocean",
4734
+ "id": "",
5087
4735
  "body": {
5088
4736
  "package": "himalaya",
5089
- "type": "SelectionControl",
5090
- "props": {
5091
- "kind": "radio",
5092
- "groupId": "himi_appearance.accent",
5093
- "label": "Ocean",
5094
- "valuePath": "$service:himiBrandedAppearance.selected_ocean",
5095
- "onChange": {
5096
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
5097
- "params": {
5098
- "id": "ocean"
5099
- }
5100
- }
5101
- }
4737
+ "type": "Spacer",
4738
+ "props": {}
5102
4739
  }
5103
4740
  }
5104
4741
  ]
5105
4742
  }
5106
4743
  },
5107
4744
  "modifiers": {
5108
- "padding": {
5109
- "top": 6,
5110
- "bottom": 6,
5111
- "leading": 4,
5112
- "trailing": 4
5113
- }
5114
- }
5115
- }
5116
- ]
5117
- }
5118
- }
5119
- },
5120
- {
5121
- "id": "",
5122
- "body": {
5123
- "package": "himalaya",
5124
- "type": "HStack",
5125
- "props": {
5126
- "spacing": 10,
5127
- "children": [
5128
- {
5129
- "id": "himi_appearance.apply",
5130
- "body": {
5131
- "package": "himalaya",
5132
- "type": "Button",
5133
- "props": {
5134
- "title": "Apply",
5135
- "style": "primary",
5136
- "fullWidth": true,
5137
- "action": {
5138
- "actionId": "tier5.himiBrandedAppearance.apply"
5139
- }
5140
- }
5141
- }
5142
- },
5143
- {
5144
- "id": "himi_appearance.reset",
5145
- "body": {
5146
- "package": "himalaya",
5147
- "type": "Button",
5148
- "props": {
5149
- "title": "Reset",
5150
- "style": "secondary",
5151
- "fullWidth": true,
5152
- "action": {
5153
- "actionId": "tier5.himiBrandedAppearance.reset"
4745
+ "background": {
4746
+ "token": "surfaceElevated"
4747
+ },
4748
+ "border": {
4749
+ "width": 1,
4750
+ "color": {
4751
+ "token": "border"
5154
4752
  }
4753
+ },
4754
+ "cornerRadius": 8,
4755
+ "padding": {
4756
+ "leading": 12,
4757
+ "trailing": 12,
4758
+ "top": 12,
4759
+ "bottom": 12
5155
4760
  }
5156
4761
  }
5157
4762
  }