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