@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
@@ -4393,588 +4393,193 @@ const SCREENS = runtimeSetting({
4393
4393
  }
4394
4394
  },
4395
4395
  {
4396
- "id": "",
4396
+ "id": "himi_appearance.theme_title",
4397
4397
  "body": {
4398
4398
  "package": "himalaya",
4399
4399
  "type": "Text",
4400
4400
  "props": {
4401
- "text": "Tint the brand surfaces with your accent color.",
4402
- "style": "body",
4403
- "color": "textSecondary"
4401
+ "text": "Choose the app color theme",
4402
+ "style": "body"
4404
4403
  }
4405
4404
  }
4406
4405
  },
4407
4406
  {
4408
- "id": "",
4407
+ "id": "himi_appearance.themes",
4409
4408
  "body": {
4410
4409
  "package": "himalaya",
4411
4410
  "type": "VStack",
4412
4411
  "props": {
4413
- "spacing": 3,
4412
+ "spacing": 10,
4414
4413
  "alignment": "leading",
4415
4414
  "children": [
4416
4415
  {
4417
- "id": "",
4418
- "body": {
4419
- "package": "himalaya",
4420
- "type": "Text",
4421
- "props": {
4422
- "text": "Accent",
4423
- "style": "title3"
4424
- }
4425
- }
4426
- }
4427
- ]
4428
- }
4429
- }
4430
- },
4431
- {
4432
- "id": "himi_appearance.accents",
4433
- "body": {
4434
- "package": "himalaya",
4435
- "type": "Grid",
4436
- "props": {
4437
- "columns": 3,
4438
- "columnsMedium": 6,
4439
- "spacing": 12,
4440
- "items": [
4441
- {
4442
- "id": "himi_appearance.accent_option.brand",
4416
+ "id": "himi_appearance.theme_option.system",
4443
4417
  "body": {
4444
4418
  "package": "himalaya",
4445
- "type": "VStack",
4419
+ "type": "HStack",
4446
4420
  "props": {
4447
- "spacing": 8,
4448
- "alignment": "center",
4421
+ "spacing": 12,
4449
4422
  "children": [
4450
4423
  {
4451
- "id": "himi_appearance.accent.brand",
4452
- "body": {
4453
- "package": "himalaya",
4454
- "type": "ZStack",
4455
- "props": {
4456
- "alignment": "center",
4457
- "children": [
4458
- {
4459
- "id": "",
4460
- "body": {
4461
- "package": "himalaya",
4462
- "type": "Icon",
4463
- "props": {
4464
- "name": "check",
4465
- "size": 20,
4466
- "tint": "textOnAccent"
4467
- }
4468
- },
4469
- "modifiers": {
4470
- "accessibilityRole": "decorative",
4471
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_brand"
4472
- }
4473
- }
4474
- ]
4475
- }
4476
- },
4477
- "modifiers": {
4478
- "width": 46,
4479
- "height": 46,
4480
- "cornerRadius": 23,
4481
- "background": {
4482
- "token": "accentPrimary"
4483
- },
4484
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_brand",
4485
- "border": {
4486
- "width": 2,
4487
- "color": {
4488
- "token": "border"
4489
- }
4490
- }
4491
- }
4492
- },
4493
- {
4494
- "id": "himi_appearance.accent_radio.brand",
4424
+ "id": "himi_appearance.theme_radio.system",
4495
4425
  "body": {
4496
4426
  "package": "himalaya",
4497
4427
  "type": "SelectionControl",
4498
4428
  "props": {
4499
4429
  "kind": "radio",
4500
- "groupId": "himi_appearance.accent",
4501
- "label": "Brand",
4502
- "valuePath": "$service:himiBrandedAppearance.selected_brand",
4430
+ "groupId": "himi_appearance.theme",
4431
+ "label": "System default",
4432
+ "valuePath": "$service:himiBrandedAppearance.selected_system",
4503
4433
  "onChange": {
4504
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4434
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
4505
4435
  "params": {
4506
- "id": "brand"
4507
- }
4508
- }
4509
- }
4510
- }
4511
- }
4512
- ]
4513
- }
4514
- },
4515
- "modifiers": {
4516
- "padding": {
4517
- "top": 6,
4518
- "bottom": 6,
4519
- "leading": 4,
4520
- "trailing": 4
4521
- }
4522
- }
4523
- },
4524
- {
4525
- "id": "himi_appearance.accent_option.amber",
4526
- "body": {
4527
- "package": "himalaya",
4528
- "type": "VStack",
4529
- "props": {
4530
- "spacing": 8,
4531
- "alignment": "center",
4532
- "children": [
4533
- {
4534
- "id": "himi_appearance.accent.amber",
4535
- "body": {
4536
- "package": "himalaya",
4537
- "type": "ZStack",
4538
- "props": {
4539
- "alignment": "center",
4540
- "children": [
4541
- {
4542
- "id": "",
4543
- "body": {
4544
- "package": "himalaya",
4545
- "type": "Icon",
4546
- "props": {
4547
- "name": "check",
4548
- "size": 20,
4549
- "tint": "textOnAccent"
4550
- }
4551
- },
4552
- "modifiers": {
4553
- "accessibilityRole": "decorative",
4554
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_amber"
4555
- }
4436
+ "id": "system"
4556
4437
  }
4557
- ]
4558
- }
4559
- },
4560
- "modifiers": {
4561
- "width": 46,
4562
- "height": 46,
4563
- "cornerRadius": 23,
4564
- "background": {
4565
- "token": "accentPrimary"
4566
- },
4567
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_amber",
4568
- "border": {
4569
- "width": 2,
4570
- "color": {
4571
- "token": "border"
4572
4438
  }
4573
4439
  }
4574
4440
  }
4575
4441
  },
4576
4442
  {
4577
- "id": "himi_appearance.accent_radio.amber",
4443
+ "id": "",
4578
4444
  "body": {
4579
4445
  "package": "himalaya",
4580
- "type": "SelectionControl",
4581
- "props": {
4582
- "kind": "radio",
4583
- "groupId": "himi_appearance.accent",
4584
- "label": "Amber",
4585
- "valuePath": "$service:himiBrandedAppearance.selected_amber",
4586
- "onChange": {
4587
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4588
- "params": {
4589
- "id": "amber"
4590
- }
4591
- }
4592
- }
4446
+ "type": "Spacer",
4447
+ "props": {}
4593
4448
  }
4594
4449
  }
4595
4450
  ]
4596
4451
  }
4597
4452
  },
4598
4453
  "modifiers": {
4454
+ "background": {
4455
+ "token": "surfaceElevated"
4456
+ },
4457
+ "border": {
4458
+ "width": 1,
4459
+ "color": {
4460
+ "token": "border"
4461
+ }
4462
+ },
4463
+ "cornerRadius": 8,
4599
4464
  "padding": {
4600
- "top": 6,
4601
- "bottom": 6,
4602
- "leading": 4,
4603
- "trailing": 4
4465
+ "leading": 12,
4466
+ "trailing": 12,
4467
+ "top": 12,
4468
+ "bottom": 12
4604
4469
  }
4605
4470
  }
4606
4471
  },
4607
4472
  {
4608
- "id": "himi_appearance.accent_option.terracotta",
4473
+ "id": "himi_appearance.theme_option.light",
4609
4474
  "body": {
4610
4475
  "package": "himalaya",
4611
- "type": "VStack",
4476
+ "type": "HStack",
4612
4477
  "props": {
4613
- "spacing": 8,
4614
- "alignment": "center",
4478
+ "spacing": 12,
4615
4479
  "children": [
4616
4480
  {
4617
- "id": "himi_appearance.accent.terracotta",
4618
- "body": {
4619
- "package": "himalaya",
4620
- "type": "ZStack",
4621
- "props": {
4622
- "alignment": "center",
4623
- "children": [
4624
- {
4625
- "id": "",
4626
- "body": {
4627
- "package": "himalaya",
4628
- "type": "Icon",
4629
- "props": {
4630
- "name": "check",
4631
- "size": 20,
4632
- "tint": "textOnAccent"
4633
- }
4634
- },
4635
- "modifiers": {
4636
- "accessibilityRole": "decorative",
4637
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_terracotta"
4638
- }
4639
- }
4640
- ]
4641
- }
4642
- },
4643
- "modifiers": {
4644
- "width": 46,
4645
- "height": 46,
4646
- "cornerRadius": 23,
4647
- "background": {
4648
- "token": "accentPrimary"
4649
- },
4650
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_terracotta",
4651
- "border": {
4652
- "width": 2,
4653
- "color": {
4654
- "token": "border"
4655
- }
4656
- }
4657
- }
4658
- },
4659
- {
4660
- "id": "himi_appearance.accent_radio.terracotta",
4481
+ "id": "himi_appearance.theme_radio.light",
4661
4482
  "body": {
4662
4483
  "package": "himalaya",
4663
4484
  "type": "SelectionControl",
4664
4485
  "props": {
4665
4486
  "kind": "radio",
4666
- "groupId": "himi_appearance.accent",
4667
- "label": "Terracotta",
4668
- "valuePath": "$service:himiBrandedAppearance.selected_terracotta",
4487
+ "groupId": "himi_appearance.theme",
4488
+ "label": "Light",
4489
+ "valuePath": "$service:himiBrandedAppearance.selected_light",
4669
4490
  "onChange": {
4670
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4491
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
4671
4492
  "params": {
4672
- "id": "terracotta"
4493
+ "id": "light"
4673
4494
  }
4674
4495
  }
4675
4496
  }
4676
4497
  }
4677
- }
4678
- ]
4679
- }
4680
- },
4681
- "modifiers": {
4682
- "padding": {
4683
- "top": 6,
4684
- "bottom": 6,
4685
- "leading": 4,
4686
- "trailing": 4
4687
- }
4688
- }
4689
- },
4690
- {
4691
- "id": "himi_appearance.accent_option.sage",
4692
- "body": {
4693
- "package": "himalaya",
4694
- "type": "VStack",
4695
- "props": {
4696
- "spacing": 8,
4697
- "alignment": "center",
4698
- "children": [
4699
- {
4700
- "id": "himi_appearance.accent.sage",
4701
- "body": {
4702
- "package": "himalaya",
4703
- "type": "ZStack",
4704
- "props": {
4705
- "alignment": "center",
4706
- "children": [
4707
- {
4708
- "id": "",
4709
- "body": {
4710
- "package": "himalaya",
4711
- "type": "Icon",
4712
- "props": {
4713
- "name": "check",
4714
- "size": 20,
4715
- "tint": "textOnAccent"
4716
- }
4717
- },
4718
- "modifiers": {
4719
- "accessibilityRole": "decorative",
4720
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_sage"
4721
- }
4722
- }
4723
- ]
4724
- }
4725
- },
4726
- "modifiers": {
4727
- "width": 46,
4728
- "height": 46,
4729
- "cornerRadius": 23,
4730
- "background": {
4731
- "token": "accentPrimary"
4732
- },
4733
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_sage",
4734
- "border": {
4735
- "width": 2,
4736
- "color": {
4737
- "token": "border"
4738
- }
4739
- }
4740
- }
4741
4498
  },
4742
4499
  {
4743
- "id": "himi_appearance.accent_radio.sage",
4500
+ "id": "",
4744
4501
  "body": {
4745
4502
  "package": "himalaya",
4746
- "type": "SelectionControl",
4747
- "props": {
4748
- "kind": "radio",
4749
- "groupId": "himi_appearance.accent",
4750
- "label": "Sage",
4751
- "valuePath": "$service:himiBrandedAppearance.selected_sage",
4752
- "onChange": {
4753
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4754
- "params": {
4755
- "id": "sage"
4756
- }
4757
- }
4758
- }
4503
+ "type": "Spacer",
4504
+ "props": {}
4759
4505
  }
4760
4506
  }
4761
4507
  ]
4762
4508
  }
4763
4509
  },
4764
4510
  "modifiers": {
4511
+ "background": {
4512
+ "token": "surfaceElevated"
4513
+ },
4514
+ "border": {
4515
+ "width": 1,
4516
+ "color": {
4517
+ "token": "border"
4518
+ }
4519
+ },
4520
+ "cornerRadius": 8,
4765
4521
  "padding": {
4766
- "top": 6,
4767
- "bottom": 6,
4768
- "leading": 4,
4769
- "trailing": 4
4522
+ "leading": 12,
4523
+ "trailing": 12,
4524
+ "top": 12,
4525
+ "bottom": 12
4770
4526
  }
4771
4527
  }
4772
4528
  },
4773
4529
  {
4774
- "id": "himi_appearance.accent_option.plum",
4530
+ "id": "himi_appearance.theme_option.dark",
4775
4531
  "body": {
4776
4532
  "package": "himalaya",
4777
- "type": "VStack",
4533
+ "type": "HStack",
4778
4534
  "props": {
4779
- "spacing": 8,
4780
- "alignment": "center",
4535
+ "spacing": 12,
4781
4536
  "children": [
4782
4537
  {
4783
- "id": "himi_appearance.accent.plum",
4784
- "body": {
4785
- "package": "himalaya",
4786
- "type": "ZStack",
4787
- "props": {
4788
- "alignment": "center",
4789
- "children": [
4790
- {
4791
- "id": "",
4792
- "body": {
4793
- "package": "himalaya",
4794
- "type": "Icon",
4795
- "props": {
4796
- "name": "check",
4797
- "size": 20,
4798
- "tint": "textOnAccent"
4799
- }
4800
- },
4801
- "modifiers": {
4802
- "accessibilityRole": "decorative",
4803
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_plum"
4804
- }
4805
- }
4806
- ]
4807
- }
4808
- },
4809
- "modifiers": {
4810
- "width": 46,
4811
- "height": 46,
4812
- "cornerRadius": 23,
4813
- "background": {
4814
- "token": "accentPrimary"
4815
- },
4816
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_plum",
4817
- "border": {
4818
- "width": 2,
4819
- "color": {
4820
- "token": "border"
4821
- }
4822
- }
4823
- }
4824
- },
4825
- {
4826
- "id": "himi_appearance.accent_radio.plum",
4538
+ "id": "himi_appearance.theme_radio.dark",
4827
4539
  "body": {
4828
4540
  "package": "himalaya",
4829
4541
  "type": "SelectionControl",
4830
4542
  "props": {
4831
4543
  "kind": "radio",
4832
- "groupId": "himi_appearance.accent",
4833
- "label": "Plum",
4834
- "valuePath": "$service:himiBrandedAppearance.selected_plum",
4544
+ "groupId": "himi_appearance.theme",
4545
+ "label": "Dark",
4546
+ "valuePath": "$service:himiBrandedAppearance.selected_dark",
4835
4547
  "onChange": {
4836
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4548
+ "actionId": "tier5.himiBrandedAppearance.selectTheme",
4837
4549
  "params": {
4838
- "id": "plum"
4550
+ "id": "dark"
4839
4551
  }
4840
4552
  }
4841
4553
  }
4842
4554
  }
4843
- }
4844
- ]
4845
- }
4846
- },
4847
- "modifiers": {
4848
- "padding": {
4849
- "top": 6,
4850
- "bottom": 6,
4851
- "leading": 4,
4852
- "trailing": 4
4853
- }
4854
- }
4855
- },
4856
- {
4857
- "id": "himi_appearance.accent_option.ocean",
4858
- "body": {
4859
- "package": "himalaya",
4860
- "type": "VStack",
4861
- "props": {
4862
- "spacing": 8,
4863
- "alignment": "center",
4864
- "children": [
4865
- {
4866
- "id": "himi_appearance.accent.ocean",
4867
- "body": {
4868
- "package": "himalaya",
4869
- "type": "ZStack",
4870
- "props": {
4871
- "alignment": "center",
4872
- "children": [
4873
- {
4874
- "id": "",
4875
- "body": {
4876
- "package": "himalaya",
4877
- "type": "Icon",
4878
- "props": {
4879
- "name": "check",
4880
- "size": 20,
4881
- "tint": "textOnAccent"
4882
- }
4883
- },
4884
- "modifiers": {
4885
- "accessibilityRole": "decorative",
4886
- "hiddenPath": "$service:himiBrandedAppearance.notSelected_ocean"
4887
- }
4888
- }
4889
- ]
4890
- }
4891
- },
4892
- "modifiers": {
4893
- "width": 46,
4894
- "height": 46,
4895
- "cornerRadius": 23,
4896
- "background": {
4897
- "token": "accentPrimary"
4898
- },
4899
- "backgroundColorPath": "$service:himiBrandedAppearance.accentHex_ocean",
4900
- "border": {
4901
- "width": 2,
4902
- "color": {
4903
- "token": "border"
4904
- }
4905
- }
4906
- }
4907
4555
  },
4908
4556
  {
4909
- "id": "himi_appearance.accent_radio.ocean",
4557
+ "id": "",
4910
4558
  "body": {
4911
4559
  "package": "himalaya",
4912
- "type": "SelectionControl",
4913
- "props": {
4914
- "kind": "radio",
4915
- "groupId": "himi_appearance.accent",
4916
- "label": "Ocean",
4917
- "valuePath": "$service:himiBrandedAppearance.selected_ocean",
4918
- "onChange": {
4919
- "actionId": "tier5.himiBrandedAppearance.selectAccent",
4920
- "params": {
4921
- "id": "ocean"
4922
- }
4923
- }
4924
- }
4560
+ "type": "Spacer",
4561
+ "props": {}
4925
4562
  }
4926
4563
  }
4927
4564
  ]
4928
4565
  }
4929
4566
  },
4930
4567
  "modifiers": {
4931
- "padding": {
4932
- "top": 6,
4933
- "bottom": 6,
4934
- "leading": 4,
4935
- "trailing": 4
4936
- }
4937
- }
4938
- }
4939
- ]
4940
- }
4941
- }
4942
- },
4943
- {
4944
- "id": "",
4945
- "body": {
4946
- "package": "himalaya",
4947
- "type": "HStack",
4948
- "props": {
4949
- "spacing": 10,
4950
- "children": [
4951
- {
4952
- "id": "himi_appearance.apply",
4953
- "body": {
4954
- "package": "himalaya",
4955
- "type": "Button",
4956
- "props": {
4957
- "title": "Apply",
4958
- "style": "primary",
4959
- "fullWidth": true,
4960
- "action": {
4961
- "actionId": "tier5.himiBrandedAppearance.apply"
4962
- }
4963
- }
4964
- }
4965
- },
4966
- {
4967
- "id": "himi_appearance.reset",
4968
- "body": {
4969
- "package": "himalaya",
4970
- "type": "Button",
4971
- "props": {
4972
- "title": "Reset",
4973
- "style": "secondary",
4974
- "fullWidth": true,
4975
- "action": {
4976
- "actionId": "tier5.himiBrandedAppearance.reset"
4568
+ "background": {
4569
+ "token": "surfaceElevated"
4570
+ },
4571
+ "border": {
4572
+ "width": 1,
4573
+ "color": {
4574
+ "token": "border"
4977
4575
  }
4576
+ },
4577
+ "cornerRadius": 8,
4578
+ "padding": {
4579
+ "leading": 12,
4580
+ "trailing": 12,
4581
+ "top": 12,
4582
+ "bottom": 12
4978
4583
  }
4979
4584
  }
4980
4585
  }